aboutsummaryrefslogtreecommitdiff
path: root/services/docker/nginx
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-04-10 15:12:46 +0800
committercrupest <crupest@outlook.com>2025-06-02 18:04:47 +0800
commit72800db7e71bbd696eebc75bd128c46546f53c33 (patch)
treecfd3b33c5a36f81b18f5203e5677d14ab362933a /services/docker/nginx
parent76d393fe895573e00af8a02ab9f363690934afe7 (diff)
downloadcrupest-72800db7e71bbd696eebc75bd128c46546f53c33.tar.gz
crupest-72800db7e71bbd696eebc75bd128c46546f53c33.tar.bz2
crupest-72800db7e71bbd696eebc75bd128c46546f53c33.zip
feat(mail-server): done (except aws message-id map).
Diffstat (limited to 'services/docker/nginx')
-rw-r--r--services/docker/nginx/configs/templates/mail.conf.template8
1 files changed, 4 insertions, 4 deletions
diff --git a/services/docker/nginx/configs/templates/mail.conf.template b/services/docker/nginx/configs/templates/mail.conf.template
index 7f5f215..c47630f 100644
--- a/services/docker/nginx/configs/templates/mail.conf.template
+++ b/services/docker/nginx/configs/templates/mail.conf.template
@@ -6,14 +6,14 @@ server {
root /srv/mail;
}
- location / {
+ location = /${CRUPEST_MAIL_SERVER_AWS_INBOUND_PATH} {
include common/proxy-common;
- proxy_pass http://roundcubemail:80/;
+ proxy_pass http://mail-server:2345/${CRUPEST_MAIL_SERVER_AWS_INBOUND_PATH};
}
- location /rspamd/ {
+ location / {
include common/proxy-common;
- proxy_pass http://mailserver:11334/;
+ proxy_pass http://roundcubemail:80/;
}
client_max_body_size 5G;