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