참고
How to configure nginx to redirect all request from domain aliases to main domain?
server { listen *; listen 443 ssl; server_name .domain1.com; rewrite ^ $scheme://domain2.com permanent; }
반응형
'server-side > nginx' 카테고리의 다른 글
nginx uri, query, POST body 컨텐츠 값으로 reverseProxy (0) | 2023.11.02 |
---|---|
Access to the script ‘xxx’ has been denied (see security.limit_extensions) (0) | 2018.07.21 |
nginx Verify return code: 21 (unable to verify the first certificate) (0) | 2017.03.06 |
Centos7 Nignx php-fpm 502 Bad Gateway (0) | 2017.02.16 |
MAC Bitnami Nginx Stack Bind Error (0) | 2016.01.12 |