Welcome! Log In Create A New Profile

Advanced

Re: RegEx VHost name and the default VHost

Valentin V. Bartenev
January 23, 2013 03:24PM
On Wednesday 23 January 2013 23:41:36 automatix wrote:
> Thank you for your reply!
>
> > server_name ~^(?<project>.+)\.(?<area>.+)\.loc$;
>
> Yes, you are right, it's the better way to extract values from a RegEx into
> vars.
>
> > Are you sure that your "default" is actually the default server
>
> configuration for the listening address:port?
> No, I'm not. How can I check it?
>

You should check the listen directive.

Please see this article: http://nginx.org/en/docs/http/request_processing.html
and also the documentation: http://nginx.org/r/listen

wbr, Valentin V. Bartenev

--
http://nginx.com/support.html
http://nginx.org/en/donation.html

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
SubjectAuthorPosted

RegEx VHost name and the default VHost

automatixJanuary 23, 2013 01:37PM

Re: RegEx VHost name and the default VHost

Valentin V. BartenevJanuary 23, 2013 02:18PM

Re: RegEx VHost name and the default VHost

automatixJanuary 23, 2013 02:41PM

Re: RegEx VHost name and the default VHost

Valentin V. BartenevJanuary 23, 2013 03:24PM

Re: RegEx VHost name and the default VHost

automatixJanuary 23, 2013 03:54PM

Re: RegEx VHost name and the default VHost

Valentin V. BartenevJanuary 23, 2013 05:32PM

[resolved] Re: RegEx VHost name and the default VHost

automatixJanuary 23, 2013 06:05PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 87
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 165 on April 21, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready