Welcome! Log In Create A New Profile

Advanced

Re: Re: Re: Rewrite Performance Question

Denis F. Latypoff
July 20, 2010 06:36AM
> > 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)
- server_name ~"(www.)?forum.(at|ch|com|eu|info|net|org)";
+ server_name ~"(www\.)?forum\.(at|ch|com|eu|info|net|org)";
> or
- server_name ~"(www.|)forum.(at|ch|com|eu|info|net|org)";
+ server_name ~"(www\.|)forum\.(at|ch|com|eu|info|net|org)";
> ?
> --
> br, Denis F. Latypoff.
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>

--
br, Denis F. Latypoff.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Rewrite Performance Question

JG July 19, 2010 06:02AM

Re: Rewrite Performance Question

Boris Dolgov July 19, 2010 06:26AM

Re: Rewrite Performance Question

Igor Sysoev July 19, 2010 07:16AM

Re: Rewrite Performance Question

JG July 19, 2010 07:30AM

Re: Rewrite Performance Question

edogawaconan July 19, 2010 09:56AM

Re: Rewrite Performance Question

Anton Yuzhaninov July 20, 2010 05:46AM

Re: Rewrite Performance Question

edogawaconan July 20, 2010 06:12AM

Re: Re: Rewrite Performance Question

Denis F. Latypoff July 20, 2010 06:16AM

Re: Re: Re: Rewrite Performance Question

Denis F. Latypoff July 20, 2010 06:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 133
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready