Regular expression used in server_name directive

justin nginx-forum at nginx.us
Sun Mar 3 20:16:09 UTC 2013


No, simply doing

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

Works. This may be a bug with nginx? The new regular expression is valid and
should work.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,236870,236881#msg-236881



More information about the nginx mailing list