diff options
author | crupest <crupest@outlook.com> | 2024-11-07 13:39:04 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2024-11-07 13:39:04 +0800 |
commit | 0295355cbaa4090b730e5961f023b0cd46637fa7 (patch) | |
tree | 6edaea828d6056946fa57a5a956a119a2c2c4009 /template/nginx/root.conf.template | |
parent | bea22d949af7b235fd9eabb90499470cce21b04b (diff) | |
download | crupest-0295355cbaa4090b730e5961f023b0cd46637fa7.tar.gz crupest-0295355cbaa4090b730e5961f023b0cd46637fa7.tar.bz2 crupest-0295355cbaa4090b730e5961f023b0cd46637fa7.zip |
fix(mail): fix mail reverse proxy config.
Diffstat (limited to 'template/nginx/root.conf.template')
-rw-r--r-- | template/nginx/root.conf.template | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/template/nginx/root.conf.template b/template/nginx/root.conf.template index 17b558f..9cf1904 100644 --- a/template/nginx/root.conf.template +++ b/template/nginx/root.conf.template @@ -81,17 +81,3 @@ server { client_max_body_size 5G; } - -server { - listen 80; - listen [::]:80; - server_name ${CRUPEST_NGINX_SUBDOMAIN}.${CRUPEST_DOMAIN}; - - location / { - return 301 https://$host$request_uri; - } - - location /.well-known/acme-challenge { - root /srv/acme; - } -} |