Welcome! Log In Create A New Profile

Advanced

Re: Regular expression used in server_name directive

Francis Daly
March 03, 2013 04:40PM
On Sun, Mar 03, 2013 at 03:16:09PM -0500, justin wrote:

Hi there,

> server_name ~^(?<account>.+)\.mydomain\.com$;
>
> Works.

Correct.

Now compare that line with the server_name lines in the previous mails.

> This may be a bug with nginx?

No.

> The new regular expression is valid and should work.

Yes; nginx is happy with the regular expression, provided that it knows
that it is intended to be a regular expression.

f
--
Francis Daly francis@daoine.org

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

Regular expression used in server_name directive

Anonymous User March 03, 2013 12:43PM

Re: Regular expression used in server_name directive

Francis Daly March 03, 2013 02:14PM

Re: Regular expression used in server_name directive

Anonymous User March 03, 2013 02:21PM

Re: Regular expression used in server_name directive

Francis Daly March 03, 2013 03:06PM

Re: Regular expression used in server_name directive

Anonymous User March 03, 2013 03:16PM

Re: Regular expression used in server_name directive

Francis Daly March 03, 2013 04:40PM

Re: Regular expression used in server_name directive

Anonymous User March 03, 2013 06:17PM

Re: Regular expression used in server_name directive

Adrián Navarro March 03, 2013 02:26PM

Re: Regular expression used in server_name directive

Anonymous User March 03, 2013 02:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 67
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 254 on July 05, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready