1) Use multiple server blocks, as what Michael suggested.
2) Use variables, e.g.:
location ~* (a|b) {
set $var $1;
rewrite ^ /test$var.html break;
}
Please see http://wiki.nginx.org/NginxHttpRewriteModule for more
information :)
On Thu, Jul 23, 2009 at 9:55 AM, vburshteyn<nginx-forum@nginx.us> wrote:
> 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.