I have this configuration:
https://pastebin.com/rjKDaUPC
I use it to terminate SSL connection to port 443 on the public IP address, then redirect the SSL traffic to apache or VPN server based on hostname, this is knows as SSL preread.
Everything is fine, but on the apache I've got every request from client 127.0.0.1 which is the IP of the Nginx server. What i have to do to pass the real client ip address to the apache server.
Thanks a lot.
https://pastebin.com/rjKDaUPC
I use it to terminate SSL connection to port 443 on the public IP address, then redirect the SSL traffic to apache or VPN server based on hostname, this is knows as SSL preread.
Everything is fine, but on the apache I've got every request from client 127.0.0.1 which is the IP of the Nginx server. What i have to do to pass the real client ip address to the apache server.
Thanks a lot.