Fix MIME type configuration in Caddyfile for Caddy v2 compatibility
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
67e4f0a70c
commit
2b5eabdd22
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue