We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7825652 commit 168d9e4Copy full SHA for 168d9e4
docker/nginx.conf
@@ -44,6 +44,10 @@ server {
44
45
# Cache nhẹ cho ảnh/tệp tĩnh
46
add_header Cache-Control "public, max-age=31536000, immutable";
47
+
48
+ # HLS thường benefit từ cache control
49
+ location ~ \.m3u8$ { add_header Cache-Control "no-cache"; }
50
+ location ~ \.ts$ { add_header Cache-Control "public, max-age=31536000, immutable"; }
51
}
52
53
# ===== WebSocket bridges (nội bộ qua Docker network) =====
0 commit comments