# Public HTTPS entrypoint for the Agmail web UI.
# APP_PUBLIC_HOST and CADDY_ACME_EMAIL are injected by docker compose.

{
	email {$CADDY_ACME_EMAIL}
}

{$APP_PUBLIC_HOST} {
	tls {$CADDY_ACME_EMAIL}
	encode gzip zstd
	reverse_proxy frontend:80
}
