diff --git a/docker-compose.yml b/docker-compose.yml index d75f3f1..2a5da8e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,7 +20,7 @@ services: context: . dockerfile: Dockerfile args: - CACHEBUST: "11" + CACHEBUST: "13" VITE_USE_MOCK_DATA: "false" VITE_CONTENT_ORIGIN: ${FRONTEND_URL} VITE_INDEEHUB_API_URL: /api diff --git a/nginx.conf b/nginx.conf index a3e4f6c..660ae09 100644 --- a/nginx.conf +++ b/nginx.conf @@ -76,7 +76,9 @@ server { # ── MinIO storage proxy (public bucket) ──────────────────── # Serves poster images, HLS segments, etc. with caching - location /storage/ { + # ^~ ensures this prefix takes priority over the static-asset + # regex that would otherwise intercept .jpg/.png requests. + location ^~ /storage/ { resolver 127.0.0.11 valid=30s ipv6=off; set $minio_upstream http://minio:9000; @@ -94,7 +96,7 @@ server { } # ── MinIO storage proxy (private bucket -- for HLS key delivery) ─ - location /storage-private/ { + location ^~ /storage-private/ { resolver 127.0.0.11 valid=30s ipv6=off; set $minio_upstream http://minio:9000;