I have this config and, www.domain2.com goes to domain1.com
What do I set in server_name so that all sub-domain requests go to that
server?
xxx.domain2.com-> domain2
thanks
server {
listen 80;
server_name domain1.com;
server {
listen 80;
server_name domain2.com;