Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

nginx stream pass client ip address to backend

$
0
0
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.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>