how to block excluding specific url in nginx?

goversation nginx-forum at nginx.us
Thu Nov 27 08:40:20 UTC 2014


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



More information about the nginx mailing list