[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Configure ssl to non-ssl reverse proxy

Posted on 2012-09-18
1
Medium Priority
?
435 Views
Last Modified: 2012-09-22
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?
0
Comment
Question by:opike
1 Comment
 
LVL 22

Accepted Solution

by:
Matt V earned 2000 total points
ID: 38411058
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
</Location>
</VirtualHost>
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to fix a SonicWall Gateway Anti-Virus firewall blocking automatic updates to apps like Windows, Adobe, Symantec, etc.
The title says it all. Writing any type of PHP Application or API code that provides high throughput, while under a heavy load, seems to be an arcane art form (Black Magic). This article aims to provide some general guidelines for producing this typ…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question