Hi, It seems if I use realip module and X-Forwarded-For header, the $remote_port becomes blank. Any ideas how to work around this? Thanks! Frank -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150918/d9c61339/attachment.html>