Welcome! Log In Create A New Profile

Advanced

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

kang
February 16, 2011 09:16AM
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?

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

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

kang February 16, 2011 09:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 205
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready