use config-email in prod mode

This commit is contained in:
Andreas Knuth 2026-01-01 06:11:08 -06:00
parent 0ddfa51265
commit aded85eb66
1 changed files with 15 additions and 6 deletions

View File

@ -203,13 +203,22 @@ app.email-bayarea.com {
}
# Roundcube für docker-mailserver
config.email-bayarea.com {
reverse_proxy host.docker.internal:3008
# reverse_proxy host.docker.internal:3008
log {
output stderr
format console
# log {
# output stderr
# format console
# }
# encode gzip
handle {
root * /home/aknuth/git/config-email/frontend/dist/assets # Neuer Prod-Dist-Ordner
try_files {path} {path}/ /index.html
file_server
}
log {
output file /var/log/caddy/config-email.log # Separate Logs
}
encode gzip
}
# Roundcube für docker-mailserver