httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Monah Baki <monahb...@gmail.com>
Subject [users@httpd] Apache reverse proxy setting
Date Mon, 24 Jun 2019 22:47:40 GMT
Hi all,

I have a centos server running apache 2.4.6 in reverse proxy mode, and I
have another backend server running https (used letsencrypt) for the certs
I changed my DNS A record www pointing to the IP address of the reverse
proxy.

http works fine.
https works somewhat (I see the IP address of the reverse proxy and not the
IP address of the backend server)

Not sure if it's possible, but I want to keep the ssl certs on the backend
server and want to just redirect both http and https to the backend server
on the reverse proxy, is it possible?
Don't think the owners of the backend will be happy giving me their private
keys.

My httpd.conf file consists
<VirtualHost *:80>
ServerName <FQDN>
SSLProxyEngine On
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire On
# ProxyPreserveHost On
ProxyPass / http://<backendIP/
ProxyPassReverse / http://backendIP/


Thanks and any links or help is greatly appreciated

Monah

Mime
View raw message