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.*
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx