Fix MIME type configuration in Caddyfile for Caddy v2 compatibility
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Leopere 2025-03-07 18:50:56 -05:00
parent 67e4f0a70c
commit 2b5eabdd22
1 changed files with 7 additions and 5 deletions

View File

@ -14,12 +14,14 @@
encode gzip zstd
# MIME type overrides for HLS streaming
mime {
# HLS playlist files
.m3u8 application/x-mpegURL
# HLS segment files
.ts video/MP2T
@m3u8Files {
path *.m3u8
}
@tsFiles {
path *.ts
}
header @m3u8Files Content-Type "application/x-mpegURL"
header @tsFiles Content-Type "video/MP2T"
# Security headers
header {