limit_req off?

Fry-kun nginx-forum at forum.nginx.org
Wed Jan 20 19:14:16 UTC 2016


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.


B.R. Wrote:
-------------------------------------------------------
> You might wish to set up locations like that:
> 
> location /outer-path {
>     limit_req ...
> }
> 
> location /outer-path/inner-path {
>     ...
> }
> ---
> *B. R.*
> 
> On Tue, Jan 19, 2016 at 11:01 PM, Fry-kun
> <nginx-forum at forum.nginx.org>
> wrote:
> 
> > I have a location with limit_req and would like to set up an inner
> path
> > without the limit but with other settings same, e.g.
> >
> > location / {
> >   limit_req ...;
> >   proxy_pass ...;
> >   location /private/ {
> >     limit_req  off;
> >   }
> > }
> >
> > How come "limit_req off" is not an available option?
> > Any other easy way of achieving this?
> >
> > Thanks
> >
> > Posted at Nginx Forum:
> > https://forum.nginx.org/read.php?2,263998,263998#msg-263998
> >
> > _______________________________________________
> > nginx mailing list
> > nginx at nginx.org
> > http://mailman.nginx.org/mailman/listinfo/nginx
> >
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,263998,264025#msg-264025



More information about the nginx mailing list