Re: remote_addr not set using x-real-ip

2015-01-26 Thread Francis Daly
On Mon, Jan 26, 2015 at 09:29:17PM +0800, ron ramos wrote: Hi there, > I would just like to check what mistake i did on implementing real-ip > module. > real_ip_recursive on; That says "tell me the last untrusted address from the list". http://nginx.org/r/real_ip_recursive > set_real

remote_addr not set using x-real-ip

2015-01-26 Thread ron ramos
Hi All, I would just like to check what mistake i did on implementing real-ip module. Im using nginx 1.6.2 with real_ip_module enabled: nginx -V nginx version: nginx/1.6.2 TLS SNI support enabled configure arguments: --with-cc-opt='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wfo