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
Subject Author Posted

RegEx VHost name and the default VHost

automatix January 23, 2013 01:37PM

Re: RegEx VHost name and the default VHost

Valentin V. Bartenev January 23, 2013 02:18PM

Re: RegEx VHost name and the default VHost

automatix January 23, 2013 02:41PM

Re: RegEx VHost name and the default VHost

Valentin V. Bartenev January 23, 2013 03:24PM

Re: RegEx VHost name and the default VHost

automatix January 23, 2013 03:54PM

Re: RegEx VHost name and the default VHost

Valentin V. Bartenev January 23, 2013 05:32PM

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

automatix January 23, 2013 06:05PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 238
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