Blocking based on proxy_add_x_forwarded_for

Shri @ DevLib.Org shri at devlib.org
Wed Mar 11 08:40:54 MSK 2009


I have a situation where a fair number of spammers are sneaking in through proxy servers.

Their real IP addresses can be traced back and identified.

Our current blocking works like this.

        location / {
              deny A.B.0.0/16;
        }

Is there any way possible where I could check the $proxy_add_x_forwarded_for address and block these spammers on our forums?

Regards,
Shri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090311/1a12dbc4/attachment.html>


More information about the nginx mailing list