I want to use limit_req_zone and limit_zone to limit all ip but not include 67.67.67.67!How to?

kang with4u at 126.com
Wed Feb 16 17:11:58 MSK 2011


I want to use limit_req_zone and limit_zone to limit all ip but not include
67.67.67.67!

How to?

..

...

...

limit_zone  crawler  $binary_remote_addr  10m;

limit_req_zone  $binary_remote_addr zone=all:10m   rate=60r/m;

server

  {.

...

..

allow  67.67.67.67;

limit_conn crawler 10;

limit_req   zone=all  burst=99;

..

..

}

Now is limit include 67.67.67.67,How to limit all but not include
67.67.67.67?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20110216/5a34fc09/attachment.html>


More information about the nginx mailing list