Make a location that matches each URI exactly and copy-paste content. As Francis explained, location matches are inclusive, not exclusive, thus everything you do not match goes elsewhere. --- *B. R.*
On Thu, Nov 27, 2014 at 9:40 AM, goversation <[email protected]> wrote: > thanks for replying. > but I meant that location allow only "/" and "/blah". > I want to deny the others except "/" . > example is as follows. > > ================ > abc.com/ = OK > abc.com/blah/ = OK > abc.com/dd = 403 > abc.com/... = 403 > ================ > > help me again! > > Posted at Nginx Forum: > http://forum.nginx.org/read.php?2,255147,255168#msg-255168 > > _______________________________________________ > nginx mailing list > [email protected] > http://mailman.nginx.org/mailman/listinfo/nginx >
_______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
