how to get remote_addr in ngix for POP/IMAP with perl module
moorthi
nginx-forum at nginx.us
Wed Oct 9 11:17:33 UTC 2013
other issue i'm getting is when i login thru php webmail (which connects to
nginx for imap proxy) I am not getting original remote_addr in nginx server,
instead i am getting 127.0.0.1, I've tried below header in php webmail where
imap login happens, using
header('X-Forwarded-For: '.$_SERVER['REMOTE_ADDR']);
how should i get original remote address in nginx.
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,123661,243552#msg-243552
More information about the nginx
mailing list