feat(Caddy): add Caddy as reverse proxy to handle SSL Certificate

This commit is contained in:
2026-03-23 04:31:47 +08:00
parent 89e64fadb0
commit bafefc812d
2 changed files with 28 additions and 3 deletions

4
Caddyfile Normal file
View File

@@ -0,0 +1,4 @@
{$MAIL_HOSTNAME} {
tls /ssl/cert.pem /ssl/key.pem
reverse_proxy mailserver:80
}