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
On Monday 15 September 2014 16:05:31 matt_l wrote:
> Valentin,
> Thank you so much for your example. It definitely helps.
> When you say "A client IP address serves as a key. [...]. One megabyte zone
> can keep about 16 thousand 64-byte states." Does that mean that 1 megabyte
> zone can keep the s
Valentin,
Thank you so much for your example. It definitely helps.
When you say "A client IP address serves as a key. [...]. One megabyte zone
can keep about 16 thousand 64-byte states." Does that mean that 1 megabyte
zone can keep the state on 16 thousand different sending IP addresses?
What abou
On Saturday 13 September 2014 18:07:31 matt_l wrote:
> Valentin
>
> Thank you very much for your response.
>
> What would be a use case where one would define multiple limit_req_zone?
>
> For example, I would assume that the following
>
> limit_req_zone $binary_re
Valentin
Thank you very much for your response.
What would be a use case where one would define multiple limit_req_zone?
For example, I would assume that the following
limit_req_zone $binary_remote_addr zone=one:10m rate=10r/s;
limit_req_zone $binary_remote_addr zone=two:10m rate=10r/s;
is
On Saturday 13 September 2014 16:37:05 matt_l wrote:
> Hello
>
> Please may I ask a question with respect to limit_req_zone to better
> understand how it works
>
> Can I have multiple limit_re_zone statements?
Of course, you can.
>
> limit_req_zone $binary_remote_addr zone=one:10mrate
Hello
Please may I ask a question with respect to limit_req_zone to better
understand how it works
Can I have multiple limit_re_zone statements?
limit_req_zone $binary_remote_addr zone=one:10mrate=10r/s;
limit_req_zone $binary_remote_addr zone=two:10mrate=10r/s;
Thank you
Pos
10 matches
Mail list logo