File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,9 @@ server {
3232 proxy_pass http ://minio:9000 /;
3333 proxy_http_version 1.1;
3434
35- proxy_set_header Host $host ;
35+ # !!! ép Host về tên upstream để MinIO không thử virtual-host-style
36+ proxy_set_header Host minio;
37+
3638 proxy_set_header X-Real-IP $remote_addr ;
3739 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for ;
3840 proxy_set_header X-Forwarded-Proto $scheme ;
@@ -50,13 +52,6 @@ server {
5052 location ~ \.ts$ { add_header Cache-Control "public, max-age=31536000, immutable"; }
5153 }
5254
53- location ~ * \.m3u8$ {
54- proxy_pass http ://minio:9000 ;
55- proxy_request_buffering off;
56- proxy_buffering off;
57- add_header Cache-Control "no-store" ;
58- }
59-
6055 # ===== WebSocket bridges (nội bộ qua Docker network) =====
6156 # Coding runner WS
6257 location /ws/code/ {
You can’t perform that action at this time.
0 commit comments