'real_ip_header proxy_protocol' don't change the client address

fengx nginx-forum at forum.nginx.org
Mon Oct 23 06:43:13 UTC 2017


OK. My nginx IP is 172.20.19.18. I need to add 'set_real_ip_from
172.16.0.0/12' and now it can replace remote_addr with proxy_protocol.
Thanks a lot.

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,276542,277033#msg-277033



More information about the nginx mailing list