aboutsummaryrefslogtreecommitdiff
path: root/template/nginx/root.conf.template
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2024-11-07 13:39:04 +0800
committercrupest <crupest@outlook.com>2024-11-07 13:39:04 +0800
commit696286ffcfb599ee37c264b06d40d01dd34dd393 (patch)
tree6edaea828d6056946fa57a5a956a119a2c2c4009 /template/nginx/root.conf.template
parent69596a5b11ca1157e4d1b5c6a1ab6e5f03f64bdd (diff)
downloadcrupest-696286ffcfb599ee37c264b06d40d01dd34dd393.tar.gz
crupest-696286ffcfb599ee37c264b06d40d01dd34dd393.tar.bz2
crupest-696286ffcfb599ee37c264b06d40d01dd34dd393.zip
fix(mail): fix mail reverse proxy config.
Diffstat (limited to 'template/nginx/root.conf.template')
-rw-r--r--template/nginx/root.conf.template14
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;
- }
-}