[CentOS] Off Topic - SSL reverse proxy and Mixed Content

Clint Dilks

clintd at waikato.ac.nz
Thu Oct 1 03:22:29 UTC 2015


Hi,

Not a CentOS specific issue, but I am a bit stuck as where I might ask for
help so if anyone has any ideas please share :)

I have a site that I want to work behind a reverse proxy (httpd) if using
http:// everything works as expected.  If using https:// some content is
displayed but some content is blocked because of stylesheets and etc being
requested via http rather https.

I know that the long term solution should be to get all code changed so
that it references
//myserver/resource or /resource rather than http://myserver/resource but
is there anything I can do with httpd to get this working until these
changes are made ?

Thanks for any suggestions.  Below is my current VirtualHost config

   ProxyRequests On
   ProxyPreserveHost On
   ProxyTimeout 300
    <Proxy *>
       Order allow,deny
       Allow from all
    </Proxy>

    ProxyPass / http://myserver/
    ProxyPassReverse / http://myserver/



More information about the CentOS mailing list