Is there a better way to block spamers IP's than this?
Wayne Seguin
wayneeseguin at gmail.com
Mon Jun 16 19:06:28 MSD 2008
Igor,
Thank you *very* much for your response. I just realized I did not
email the list for this, so I'm doing this now.
~Wayne
On Jun 13, 2008, at 15:02 , Igor Sysoev wrote:
> On Tue, Jun 10, 2008 at 11:58:51AM -0400, Wayne Seguin wrote:
>
>> http://pastie.org/private/e5gowb2njixv2xhvwzpu8g
>
> Yes:
>
> http {
> geo $spamer {
> default 0;
>
> 12.166.96.32/27 1;
> 41.202.0.0/17 1;
> ...
> }
>
> server {
>
> if ($spamer) {
> return 403;
> }
>
> ...
> }
>
>
>
> --
> Igor Sysoev
> http://sysoev.ru/en/
More information about the nginx
mailing list