• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 441
  • Last Modified:

Configure ssl to non-ssl reverse proxy

I have a site where the primary web server (the one that initially handles http requests) acts as a reverse proxy for another web-server on another machine, we'll call them webserver A and B. Both A and B are apache. What I would like to do is set up A to use SSL to the browser while A communicates with B (behind the firewall) using basic http. The issue I'm having is that when I access my site initially using https://sitename, I get the page I want in the browser, but subsequent urls are converted over to http://sitename.

Is what I'm trying to do possible or will I also need to convert webserver B over to using SSL as well?
1 Solution
Matt VCommented:
Maybe something like this on server A:

<VirtualHost www.domainA.com:443
<Location />
ProxyPass http://www.domainB.com/ 
ProxyPassReverse http://www.domainB.com/ 
ProxyPassReverseCookieDomain domainB.com domainA.com
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Network Scalability - Handle Complex Environments

Monitor your entire network from a single platform. Free 30 Day Trial Now!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now