Welcome! Log In Create A New Profile

Advanced

If I use "limit_req_zone" with r/m, will it also check requests/second in the mean time?

Posted by Brian1968 
Hi,

If I use the statement "limit_req_zone" with r/m, will it also check requests/second?
In other words, if I use this:

limit_req_zone $http_x_forwarded_for zone=zona1:10m rate=900r/m;

Will it just wait until one minute has passed and check how many requests I have made (if I exceeded 900), or will it also keep checking how many requests per second so as to apply a limit of 15 request/second while it has not yet arrived to the next minute?

Thanks in advace!
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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