B.R.
February 19, 2014 11:16AM
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
Subject Author Posted

Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

sivakr February 19, 2014 09:36AM

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

B.R. February 19, 2014 11:16AM

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

sivakr February 19, 2014 12:02PM

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

B.R. February 19, 2014 01:16PM

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

sivakr February 19, 2014 01:22PM

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

Bozhidara Marinchovska February 19, 2014 11:42AM

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

sivakr February 19, 2014 12:02PM

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

sivakr February 19, 2014 12:18PM

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

Bozhidara Marinchovska February 19, 2014 05:30PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 160
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready