nginx配置多个域名
server { listen 80; server_name www.aa.com aa.com bb.aa.com; #rewrite ^/(.*) https://$server_name$request_uri? permanent; #http重定向到https #rewrite ^/(.*) https://$server_name$1 permanent; #跳转到Https #charset koi8-r; charset u.