craigmj opened a new issue #1806: mod_pagespeed behind https terminating proxy 
ignores X-Forwarded-Proto header
URL: https://github.com/apache/incubator-pagespeed-mod/issues/1806
 
 
   I'm running HAProxy, forwarding to Apache running mod_pagespeed. HAProxy 
terminates the https connection, so I make a regular http connection to Apache, 
passing a `Http-X-Forwarded-Proto: https` and `X-Forwarded-Proto: https` 
headers with the proxy request.
   However, mod_pagespeed rewrites my css where I use a relative URL:
       `background-image: url(/test.png);`
   becomes
       `background-image: url(http://test.com/test.png);`
   Is it possible for mod_pagespeed to respect the `X-Forwarded-Proto` header 
and use `https` instead, or can I manage this in some other way?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to