From e93354f0bed326685a2c143a127190a771967f3a Mon Sep 17 00:00:00 2001 From: "Adrien W." Date: Sun, 4 Oct 2026 21:42:07 +0200 Subject: [PATCH] Fixed Caddyfile for CI --- docker/Caddyfile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docker/Caddyfile b/docker/Caddyfile index 575845b..f7bce40 100644 --- a/docker/Caddyfile +++ b/docker/Caddyfile @@ -1,6 +1,17 @@ { email {$ACME_EMAIL} admin off + servers { + listener_wrappers { + proxy_protocol { + timeout 2s + allow {$TRUST_PROXY} + } + tls + } + trusted_proxies static {$TRUST_PROXY}/32 + client_ip_headers X-Forwarded-For X-Real-IP + } } # Internal only, for the container healthcheck. Never published in compose.