Hi guys, I have question. My server_name looks like this:
server_name ~^(www\.)(?<domain>[^\.]*)\.(?<tld>[^\.]*)$; but I need, for my website do subdomains. I try: server_name ~^(www\.)?(?<subdomain>\.)(?<domain>[^\.]*)\.(?<tld>[^\.]*)$; but won't work for me. And what will be super, if subdomain emtpy se to default (mean string "default"). Can me anybody help? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,237799,237799#msg-237799 _______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
