diff --git a/conf/Caddyfile.in b/conf/Caddyfile.in index 6b91f71..75861c3 100644 --- a/conf/Caddyfile.in +++ b/conf/Caddyfile.in @@ -8,15 +8,20 @@ gzip { not /stream } + header /stream { - Cache-Control: "public, max-age=7" + Cache-Control "max-age=12, public" } -header /stream/stream.m3u8{ - Cache-Control: "no-cache" + +header /stream/stream.m3u8 { + Cache-Control "no-cache" } -header /stream/metadata.json{ - Cache-Control: "no-cache" + +header /stream/metadata.json { + Cache-Control "no-cache" } + + %%TLS_BEGIN%% redir 301 {