'real_ip_header proxy_protocol' don't change the client address
    fengx 
    nginx-forum at forum.nginx.org
       
    Tue Sep 26 10:56:50 UTC 2017
    
    
  
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
    
    
More information about the nginx
mailing list