nginx not setting REMOTE_ADDR properly?
abhishek.rhce at gmail.com
Thu Mar 5 06:06:18 MSK 2009
Use "$http_x_forwarded_for" to log client real ip address.
On Thu, Mar 5, 2009 at 8:22 AM, Mohammad Kolahdouzan <mohammad_ysm at yahoo.com
> My nginx is getting requests through a (NetScaler) load balancer, and
> $remote_addr is returning the load balancer's IP and not the real user's IP
> (which the load balancer sets as REMOTE_ADDR in the header). Any other
> attribute I should use to get the real user's IP?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx