Apache ReverseProxyPass redrects to http rather than https

view full story

http://serverfault.com – I have a reverse proxy setup using apache mod_proxy: <VirtualHost *:443> ServerName reverse.server.com ProxyPass / ProxyPassReverse / ProxyPreserveHost on ...snip ssl stuff... </VirtualHost> This works fine most of the time. The problem is when the internal server does a redirect. While the proxypassreverse should catch the location, and it seems to, it redirects to http://reverse.server.com rather than to https://reverse.server.com. So it is half working, the address changes correctly, but the protocol stays as t (HowTos)