Limit connections to endpoint

vocativus nginx-forum at
Thu Jul 17 10:57:51 UTC 2014

ok I found that yesterday, and as a variable in limit_req_zone I should use
some constant eg: set $con 10;

and it looks like:

set $con 10;
limit_req_zone $con zone=one:15m rate=10r/s;

and it should work as I want? Aking, because I'm testnig it now, and it dont
work properly.

Posted at Nginx Forum:,251870,251875#msg-251875

More information about the nginx mailing list