From 8eac611f707aa1b004db928c0ecc05e8c45dece8 Mon Sep 17 00:00:00 2001 From: claude Date: Tue, 14 Jul 2026 10:43:15 +0000 Subject: [PATCH] fix(clsi-nginx): add video and audio mime types .mp4/.webm/etc. were served as application/octet-stream because the custom types block overrides nginx defaults and was missing media types. Browsers refuse to play media with a non-media Content-Type, especially with X-Content-Type-Options: nosniff set. Co-Authored-By: Claude Sonnet 4.6 --- server-ce/nginx/clsi-nginx.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server-ce/nginx/clsi-nginx.conf b/server-ce/nginx/clsi-nginx.conf index 9815974651..68ae7faf56 100644 --- a/server-ce/nginx/clsi-nginx.conf +++ b/server-ce/nginx/clsi-nginx.conf @@ -42,6 +42,12 @@ server { font/woff2 woff2; application/pdf pdf; text/plain log blg aux stdout stderr txt; + video/mp4 mp4; + video/webm webm; + video/ogg ogv ogg; + audio/mpeg mp3; + audio/ogg oga; + audio/wav wav; } # handle output files for specific users location ~ ^/project/([0-9a-f]+)/user/([0-9a-f]+)/build/([0-9a-f-]+)/output/(.+)$ {