diff --git a/Caddyfile b/Caddyfile index 626eb2c..d7b357c 100644 --- a/Caddyfile +++ b/Caddyfile @@ -202,3 +202,22 @@ fotos.carloselugo.com { format json } } + +# ── Jellyfin — stream.carloselugo.com ────────────────────────────────────────── +stream.carloselugo.com { + header { + Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" + X-Content-Type-Options "nosniff" + X-Frame-Options "SAMEORIGIN" + Referrer-Policy "strict-origin-when-cross-origin" + -Server + } + reverse_proxy jellyfin:8096 { + flush_interval -1 + } + encode gzip + log { + output file /var/log/caddy/jellyfin.log + format json + } +}