diff --git a/caddy/Caddyfile b/caddy/Caddyfile index 1b5b2a28..32385c5e 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -11,7 +11,7 @@ *.{$APP_DOMAIN}, {$APP_DOMAIN} { reverse_proxy web:3000 - log + log tls {$APP_EMAIL} { dns cloudflare {$CF_API_TOKEN} resolvers 1.1.1.1 @@ -61,6 +61,7 @@ :443 { reverse_proxy web:3000 + log tls {$APP_EMAIL} { on_demand } diff --git a/caddy/Caddyfile.pgs b/caddy/Caddyfile.pgs index 3efea514..ccad7042 100644 --- a/caddy/Caddyfile.pgs +++ b/caddy/Caddyfile.pgs @@ -95,6 +95,7 @@ monitoring.{$MONITORING_APP_DOMAIN}, prometheus.{$MONITORING_APP_DOMAIN}, grafan :443 { reverse_proxy web:3000 + log tls {$APP_EMAIL} { on_demand }