Alex Flex
August 03, 2014 03:30PM
Iam trying to whitelist some IPs in the geo #connlimit1 so that the
limit_conn doesnt apply to it. For some reason its not working... those
ips are always being limited. I must be doing something obviously wrong
guidance appreciated.


Alex


server {

geo $connlimit1 {
default 1;
#whitelist client
21.199.62.74/32 0;
5.97.162.77/32 0;
}
limit_conn_zone $binary_remote_addr zone=connlimit1:10m;
}

http {
location / { limit_conn connlimit1 8; ....; }
}

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

whitelist 'notabot' not working in limit_conn

Alex Flex August 03, 2014 03:30PM

Re: whitelist 'notabot' not working in limit_conn

Maxim Dounin August 04, 2014 11:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 190
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