Remote Client Ip address logging problem in nginx

Abhishek Singh opensourcelearning at gmail.com
Wed Aug 8 20:34:39 MSD 2007


Hi,

I am using nginx as web and proxy server for my mongrel cluster, and nginx
web server is behind my ISP loadbalancer , so nginx $remote_addr variable is
logging my isp loadbalancer ip address in nginx.vhost.access.log file ,
earlier when i was using apache so i solved this problem by rlnclientipaddr
http header by adding this %{*rlnclientipaddr*}i  parameter in apache log
format , now how can i do the same thing in nginx , any idea please help me
.


Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20070808/1cf6e8c5/attachment.html>


More information about the nginx mailing list