<div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">Make a location that matches each URI exactly and copy-paste content.<br><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">As Francis explained, location matches are inclusive, not exclusive, thus everything you do not match goes elsewhere.<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 Thu, Nov 27, 2014 at 9:40 AM, goversation <span dir="ltr"><<a href="mailto:nginx-forum@nginx.us" target="_blank">nginx-forum@nginx.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">thanks for replying.<br>
but I meant that location allow only "/" and "/blah".<br>
I want to deny the others except "/" .<br>
example is as follows.<br>
<br>
================<br>
<a href="http://abc.com/" target="_blank">abc.com/</a> = OK<br>
<a href="http://abc.com/blah/" target="_blank">abc.com/blah/</a> = OK<br>
<a href="http://abc.com/dd" target="_blank">abc.com/dd</a> = 403<br>
<a href="http://abc.com/." target="_blank">abc.com/.</a>.. = 403<br>
================<br>
<br>
help me again!<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,255147,255168#msg-255168" target="_blank">http://forum.nginx.org/read.php?2,255147,255168#msg-255168</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" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div><br></div></div>