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_ip_from 0.0.0.0/0;
But that says "no address on the list is untrusted".
So nginx will do something else -- probably tell you the first address
from the list. It's no wronger than anything else, given what you have
configured it to do.
Either turn off recursive, or configure your trusted addresses correctly.
f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx