diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-04-10 15:12:46 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2025-06-02 18:04:47 +0800 |
commit | 3701a54d1c71c166c18113d05a44ab7c932557b5 (patch) | |
tree | 0c20207992687326dee4151541aa4110f57ce97e /services/docker/nginx | |
parent | f43a156d83c841e0f6c3cd921b2e3e34936231cc (diff) | |
download | crupest-3701a54d1c71c166c18113d05a44ab7c932557b5.tar.gz crupest-3701a54d1c71c166c18113d05a44ab7c932557b5.tar.bz2 crupest-3701a54d1c71c166c18113d05a44ab7c932557b5.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.template | 8 |
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; |