On 7 Jan 2011 14h00 WET, nginx-forum@nginx.us wrote:
> 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.
Yes but *without* exact matching like you have. AFAIK you need a
regex.
location ~* ^/(?:aaa|BBB)$ {
...
}
--- appa
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx