Blocking based on proxy_add_x_forwarded_for

Shri @ DevLib.Org shri at
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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list