Welcome! Log In Create A New Profile

Advanced

Re: limit_req off?

Francis Daly
January 23, 2016 06:24AM
On Wed, Jan 20, 2016 at 02:14:16PM -0500, Fry-kun wrote:

Hi there,

> Sure, except there are a few dozen identical config lines in these
> locations... If "limit_req off" was an option, that would be the only
> difference.

The usual reason why an option is not there, is that no-one has written
it yet.

(Sometimes, the idea of the option has been explicitly rejected. I do
not know the history of this one.)

However, one possible immediate workaround, untested by me, might be to
define another limit_req_zone with a key variable that you do not set
anywhere. (Call it "zone=off", for example.)

Then in your nested location, use

limit_req zone=off;

and that should stop the outer value from being inherited.

Good luck with it,

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

limit_req off?

Fry-kun January 19, 2016 05:01PM

Re: limit_req off?

B.R. January 20, 2016 12:32PM

Re: limit_req off?

Fry-kun January 20, 2016 02:14PM

Re: limit_req off?

Francis Daly January 23, 2016 06:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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