nginx not setting REMOTE_ADDR properly?

Mohammad Kolahdouzan mohammad_ysm at yahoo.com
Thu Mar 5 05:52:50 MSK 2009


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?

-M


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090304/f1ab1c8f/attachment.html>


More information about the nginx mailing list