Rewrite Performance Question

Anton Yuzhaninov citrin at citrin.ru
Tue Jul 20 13:39:58 MSD 2010


On 19.07.2010 17:49, Edho P Arief wrote:
> 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
>

You can use some preprocessor to generate nginx config from template (with 
globs, variables and other features missing in nginx config)

-- 
  Anton Yuzhaninov



More information about the nginx mailing list