<div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">You might wish to set up locations like that:<br><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">location /outer-path {<br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)"> limit_req ...<br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">}<br><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">location /outer-path/inner-path {<br> ...<br>}<br></div><div class="gmail_extra"><div><div class="gmail_signature"><font size="1"><span style="color:rgb(102,102,102)">---<br></span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font></div></div>
<br><div class="gmail_quote">On Tue, Jan 19, 2016 at 11:01 PM, Fry-kun <span dir="ltr"><<a href="mailto:nginx-forum@forum.nginx.org" target="_blank">nginx-forum@forum.nginx.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a location with limit_req and would like to set up an inner path<br>
without the limit but with other settings same, e.g.<br>
<br>
location / {<br>
limit_req ...;<br>
proxy_pass ...;<br>
location /private/ {<br>
limit_req off;<br>
}<br>
}<br>
<br>
How come "limit_req off" is not an available option?<br>
Any other easy way of achieving this?<br>
<br>
Thanks<br>
<br>
Posted at Nginx Forum: <a href="https://forum.nginx.org/read.php?2,263998,263998#msg-263998" rel="noreferrer" target="_blank">https://forum.nginx.org/read.php?2,263998,263998#msg-263998</a><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div><br></div></div>