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