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
|
encode gzip zstd
|
||||||
|
|
||||||
# MIME type overrides for HLS streaming
|
# MIME type overrides for HLS streaming
|
||||||
mime {
|
@m3u8Files {
|
||||||
# HLS playlist files
|
path *.m3u8
|
||||||
.m3u8 application/x-mpegURL
|
|
||||||
# HLS segment files
|
|
||||||
.ts video/MP2T
|
|
||||||
}
|
}
|
||||||
|
@tsFiles {
|
||||||
|
path *.ts
|
||||||
|
}
|
||||||
|
header @m3u8Files Content-Type "application/x-mpegURL"
|
||||||
|
header @tsFiles Content-Type "video/MP2T"
|
||||||
|
|
||||||
# Security headers
|
# Security headers
|
||||||
header {
|
header {
|
||||||
|
|
Loading…
Reference in New Issue