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
commit0295355cbaa4090b730e5961f023b0cd46637fa7 (patch)
tree6edaea828d6056946fa57a5a956a119a2c2c4009 /template/nginx/root.conf.template
parentbea22d949af7b235fd9eabb90499470cce21b04b (diff)
downloadcrupest-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.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;
- }
-}