Rewrite Performance Question

Edho P Arief edhoprima at gmail.com
Mon Jul 19 17:49:04 MSD 2010


2010/7/19 Igor Sysoev <igor at sysoev.ru>:
> Also, in the second server it's better to use usual names instead of regex:
>
>     server_name   forum.at www.forum.at
>                   forum.ch www.forum.ch
>                   ...
>                   ;
>

it would be nice if the config supports simple (extended)
glob(3)-style pattern matching so it would be something like

server_name {www.,}forum.{at,ch,com,eu,info,net,org};

which should be automatically expanded into

www.forum.at
www.forum.ch
www.forum.com
...
forum.net
forum.org

-- 
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org



More information about the nginx mailing list