From 8fe773f1397091503f28f8514fa57e1cf13d079e Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 13 Dec 2025 17:39:22 +0100 Subject: [PATCH] fix: mismatched Docker and Caddy network IP ranges Docker could create a network outside the allowed IP range configured in Caddy. --- caddy/Caddyfile-template | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/caddy/Caddyfile-template b/caddy/Caddyfile-template index 65856fe..9f767ac 100644 --- a/caddy/Caddyfile-template +++ b/caddy/Caddyfile-template @@ -8,7 +8,9 @@ protocols h1 h2 listener_wrappers { proxy_protocol { - allow 172.18.0.0/16 + allow 10.0.0.0/8 + allow 172.16.0.0/12 + allow 192.168.0.0/16 } tls } @@ -24,4 +26,4 @@ https://{{SERVER}} { http://{{SERVER}} { bind 0.0.0.0 redir https://{host}{uri} permanent -} +} \ No newline at end of file