RegEx VHost name and the default VHost
automatix
nginx-forum at nginx.us
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
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?
Ilya
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,235490,235497#msg-235497
More information about the nginx
mailing list