Re: Problem with nginx rate limiting not working when using white listing

2020-06-29 Thread J.R.
One place you have $mylimit and another is $my_limit (with the underscore). ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Problem with nginx rate limiting not working when using white listing

2020-06-29 Thread stu_cambridge
I have nginx rate-limiting working when using the following limit_req_zone $binary_remote_addr zone=mylimit:20m rate=50r/m; I now want to apply it to certain IPs so i've changed it to geo $limit { default 1; 1.2.3.4/32 0; } map $limit $mylimit { 0 ""; 1 $binary_remote_