aboutsummaryrefslogtreecommitdiff
path: root/template/nginx/mail.conf.template
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2024-11-11 01:12:29 +0800
committerYuqian Yang <crupest@crupest.life>2024-12-22 17:45:13 +0800
commitce79647caae24e77fb2e978541a30dca29026b8a (patch)
tree4197980a04943b42941d3fce7cb16d1f7ea400bd /template/nginx/mail.conf.template
parentd4cc5937df9f45391c4f980d3978b91740bfecc0 (diff)
downloadcrupest-ce79647caae24e77fb2e978541a30dca29026b8a.tar.gz
crupest-ce79647caae24e77fb2e978541a30dca29026b8a.tar.bz2
crupest-ce79647caae24e77fb2e978541a30dca29026b8a.zip
HALF WORK: 2024.12.22
code.
Diffstat (limited to 'template/nginx/mail.conf.template')
-rw-r--r--template/nginx/mail.conf.template27
1 files changed, 0 insertions, 27 deletions
diff --git a/template/nginx/mail.conf.template b/template/nginx/mail.conf.template
deleted file mode 100644
index ba2e44e..0000000
--- a/template/nginx/mail.conf.template
+++ /dev/null
@@ -1,27 +0,0 @@
-server {
- listen 443 ssl http2;
- listen [::]:443 ssl http2;
- server_name mail.${CRUPEST_DOMAIN};
-
- location / {
- include common/proxy-common;
- proxy_pass http://roundcubemail:80/;
- }
-
- location /rspamd/ {
- include common/proxy-common;
- proxy_pass http://mailserver:11334/;
- }
-
- client_max_body_size 5G;
-}
-
-
-server {
- listen 80;
- listen [::]:80;
- server_name mail.${CRUPEST_DOMAIN};
-
- include common/https-redirect;
- include common/acme-challenge;
-}