limit_req per upstream server
July 04, 2019 03:56PM
Hi there,

i already use limit_req location based with a long burst, so the connection doesnt get dropped. But if you have a pool of backends (proxy, fastcgi, ..), it would be useful to limit the requests per upstream server, to avoid building strange configurations with multiple locations or servers.

Re: limit_req per upstream server
July 04, 2019 04:18PM
Im sorry, ignore that request.

limit_req_zone $upstream_addr zone=upstream:1m rate=1r/s;

did the job..
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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