Now i'll write two sections of location as follow: location =/aaa{} location =/BBB{} But I want to write the two sections to one location? eg. location =/[aaa,BBB]{} , but it's wrong, and does someone know how to write it? Thanks in advance. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,164316,164316#msg-164316