Hello,
i try to setup a catch all proxy server with nginx.
I want to catch domains like this but have only domainname (without
subdomain) in $domain
In this example from nginx docs domain has "fullname".
server {
server_name ~^(www\.)?(*?<domain>*.+)$;
root /sites/*$domain*;
}
servername: www.example.com -> $domain should be example.com
Best Regards
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx