Blocking by user agent if ip doesn't match

António P. P. Almeida appa at perusio.net
Wed Jun 1 02:31:37 MSD 2011


On 31 Mai 2011 23h25 WEST, appa at perusio.net wrote:

Oops. Now correct.

geo $bad_bot {
  default 1;
  66.0.0.0/8 0;
  xx.yy.zz.ww/16 0; # for Yahoo!
  (...)
}

--- appa




More information about the nginx mailing list