strtwtsn Wrote:
---
> then the first limit won't apply to the second location
>
> Thanks
Once a location match is made it will stay inside this location including
its settings.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,261573,26
Thanks
so if I do
location /
limit_req_zone
and then
location /limited/
limit_req_zone
then the first limit won't apply to the second location
Thanks
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,261573,261576#msg-261576
___
nginx ma
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
Hi
I'm trying to set multiple limit_req_zones for the same site. Is this
possible?
We have a few areas where clicking on a link seems to generate a lot of 503s
so we'd like to up the limit without jeopardizing the stability of the rest
of the site.
Thanks
Posted at Nginx Forum:
http://forum.n