RegEx VHost name and the default VHost

automatix nginx-forum at
Wed Jan 23 19:41:36 UTC 2013

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

> 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?


Posted at Nginx Forum:,235490,235497#msg-235497

More information about the nginx mailing list