Blocking user behind proxy

sameer nginx-forum at
Thu Oct 15 17:00:38 MSD 2009

Thanks for the reply vesperto but the real IP of the client is not the same as $REMOTE_IP. I already tried the AccessModule and that didn't do the job.

In my scenario $REMOTE_IP is the IP of the proxy serving which is forwarding the request and $TRUE-CLIENT-IP is a field in the HTTP head which contains the requesting IP which I wish to block.


Posted at Nginx Forum:,13912,13945#msg-13945

More information about the nginx mailing list