Country / CIDR banning
Shri @ DevLib.Org
shri at devlib.org
Mon Aug 3 05:58:39 MSD 2009
We've been getting an extraordinary amount of spam from a few IP ranges (hosting proxies) and countries (Nigeria for example) on our classifieds section.
and the result would be in $geoip_country_code
How would I ban based on this result ... for the whole server?
Banning by CIDR
In Apache a simple Deny from CIDR would work in the Directory / section.
How can I do this in Nginx?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx