13 lines
309 B
Caddyfile
13 lines
309 B
Caddyfile
# Public HTTPS entrypoint for the Agmail web UI.
|
|
# APP_PUBLIC_HOST (primary), CADDY_ALT_HOST (legacy alias), and CADDY_ACME_EMAIL
|
|
# are injected by docker compose.
|
|
{
|
|
email {$CADDY_ACME_EMAIL}
|
|
}
|
|
|
|
{$APP_PUBLIC_HOST}, {$CADDY_ALT_HOST} {
|
|
tls {$CADDY_ACME_EMAIL}
|
|
encode gzip zstd
|
|
reverse_proxy frontend:80
|
|
}
|