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
commitdac1e7b63cdffe54aa70c50c4d2d838532e3a5b8 (patch)
tree07ffa4bfc6f6442e747b65e229b2abbb366fbc67 /services/docker/nginx
parentcbeeaf281f400230e4161f08cfef2fe4715f3773 (diff)
downloadcrupest-dac1e7b63cdffe54aa70c50c4d2d838532e3a5b8.tar.gz
crupest-dac1e7b63cdffe54aa70c50c4d2d838532e3a5b8.tar.bz2
crupest-dac1e7b63cdffe54aa70c50c4d2d838532e3a5b8.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;