Incorrect IP Address Deducted by Nginx version: nginx/1.2.1
B.R.
reallfqq-nginx at yahoo.fr
Wed Feb 19 16:13:08 UTC 2014
Despite what you are stating, I see a valid NZ IP address in the
'$_SERVER' environment variables of the PHP instance running behind Nginx
(most probably 210.55.x.x prefix).
The Apache remote address is not the right one.
Since you failed to explain your setup, I suppose Nginx proxies traffic to
Apache.
That would explain the REMOTE_ADDR is the one from the gateway.
Your proxy configuration fails to pass the original visitor IP address
through the HTTP_X_FORWARDED_FOR field.
---
*B. R.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140219/aa113773/attachment.html>
More information about the nginx
mailing list