Welcome! Log In Create A New Profile

Advanced

Re: Multiple limit_req_zone for same site

September 11, 2015 07:06AM
You can define several zones;
limit_req_zone $binary_remote_addr zone=flooda:20m rate=128r/s;
limit_req_zone $binary_remote_addr zone=floodp:20m rate=64r/s;
limit_req_zone $binary_remote_addr zone=floodh:10m rate=64r/s;

and use them separately in location(s) /limited/ { limit_req zone=floodh burst=64 nodelay; }

---
nginx for Windows http://nginx-win.ecsds.eu/
Subject Author Posted

Multiple limit_req_zone for same site

strtwtsn September 11, 2015 05:24AM

Re: Multiple limit_req_zone for same site

itpp2012 September 11, 2015 07:06AM

Re: Multiple limit_req_zone for same site

strtwtsn September 11, 2015 08:00AM

Re: Multiple limit_req_zone for same site

itpp2012 September 11, 2015 08:29AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 66
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready