Welcome! Log In Create A New Profile

Advanced

Re: Limit connections to endpoint

July 17, 2014 06:57AM
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.
Subject Author Posted

Limit connections to endpoint

vocativus July 17, 2014 05:34AM

Re: Limit connections to endpoint

Valentin V. Bartenev July 17, 2014 05:46AM

Re: Limit connections to endpoint

vocativus July 17, 2014 06:57AM

Re: Limit connections to endpoint

Valentin V. Bartenev July 17, 2014 07:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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