Apache reverse proxy setting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux