How to configure Apache to act as an SSL proxy to an application server?
Posted
by
ripper234
on Server Fault
See other posts from Server Fault
or by ripper234
Published on 2011-11-15T16:21:07Z
Indexed on
2011/11/15
17:54 UTC
Read the original article
Hit count: 163
I have one physical server that runs:
- an Apache (httpd) server
- another web server (let's say Tomcat for sake of argument) on port 1234
Can I configure the Apache server to act as a proxy for SSL traffic, while keeping the application server blissfully unaware of SSL?
What I imagine is:
- Traffic to http://myserevr.com/app is redirected to https://myserver.com/app
- Traffic to https://myserver.com/app is proxied to the application server.
- My SSL certificate is only installed on the Apache server, not on the Application server
- Other traffic to the Apache server (http://myserver.com/anotherapp) is served directly from the Apache server
What's the best setup to achieve this? (On Ubuntu, if that matters)
© Server Fault or respective owner