how to block excluding specific url in nginx?

goversation nginx-forum at nginx.us
Thu Nov 27 00:24:46 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,255167#msg-255167



More information about the nginx mailing list