From 0a87de85d16062339d8f4ddc8cd9fb46993d38df Mon Sep 17 00:00:00 2001 From: Maurice Date: Fri, 3 Oct 2025 16:28:04 +0200 Subject: [PATCH] Fix --- services/caddy/Caddyfile | 6 ++---- services/jellyfin/jellyfin.caddy | 6 +++++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/services/caddy/Caddyfile b/services/caddy/Caddyfile index bfacfa5..c2f6cf6 100644 --- a/services/caddy/Caddyfile +++ b/services/caddy/Caddyfile @@ -18,15 +18,13 @@ # Block with default HTTP config that redirects to HTTPS (https-redir) { - bind *:80 # Listen on port 80 (HTTP) - protocols h1 h2 # Enable HTTP/1 and HTTP/2 + bind 0.0.0.0:80 # Listen on port 80 (HTTP) redir https://{host}{uri} 308 } # Block with default HTTPS config that accepts requests on port 443 (HTTP/1, HTTP/2, and HTTP/3) (https) { - bind *:443 # Listen on port 443 (HTTPS) - protocols h1 h2 h3 # Enable HTTP/1, HTTP/2, and HTTP/3 (QUIC) + bind 0.0.0.0:443 # Listen on port 443 (HTTPS) } # Block with compression configuration. diff --git a/services/jellyfin/jellyfin.caddy b/services/jellyfin/jellyfin.caddy index f04d35f..c17c277 100644 --- a/services/jellyfin/jellyfin.caddy +++ b/services/jellyfin/jellyfin.caddy @@ -1,4 +1,8 @@ -watch.goofjes.nl { +http://watch.goofjes.nl { + import https-redir +} + +https://watch.goofjes.nl { import https import compression import default-headers