nginx 301 redirect 참고How to configure nginx to redirect all request from domain aliases to main domain? NGINX 301 Redirects server { listen *; listen 443 ssl; server_name .domain1.com; rewrite ^ $scheme://domain2.com permanent; } server-side/nginx 2014.06.05