so in that case one more stupid question (sorry i am windows tech who is making the switch) so if i have a statment like location ~* (a|b) the search will terminate as soon as it finds either a or b. how can i set it up to say ( a and b)? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,4346,4353#msg-4353