泛域名重定向配置(301 redirection)
server { listen 80; listen 443 ssl http2 ; server_name google.com www.google.com ~^(?<subdomain>.+)\.google\.com$;...
server { listen 80; listen 443 ssl http2 ; server_name google.com www.google.com ~^(?<subdomain>.+)\.google\.com$;...