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-fo...@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@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to