Hello, I have enabled proxy_protocol like 'listen 8080 proxy_protocol' and can get the right client address from the $proxy_protocol_addr parameter.
I also set 'real_ip_header proxy_protocol', but it don't change the $remote_addr parameter. It says 'The proxy_protocol parameter (1.5.12) changes the client address to the one from the PROXY protocol header. ' in the document http://nginx.org/en/docs/http/ngx_http_realip_module.html#real_ip_header. Do I miss something else? Thanks Xiaofeng Posted at Nginx Forum: https://forum.nginx.org/read.php?2,276542,276542#msg-276542 _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx