From fe5a33f484191f6ca346b8d6e59b4e0f01d18cab Mon Sep 17 00:00:00 2001 From: dragonish Date: Mon, 13 Apr 2026 03:07:20 +0800 Subject: [PATCH] fix(nginx): add comprehensive MIME type mappings (#348) Include default /etc/nginx/mime.types --------- Co-authored-by: sharevb --- nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/nginx.conf b/nginx.conf index cfe1170a..bff5eb32 100644 --- a/nginx.conf +++ b/nginx.conf @@ -14,6 +14,7 @@ server { add_header Cross-Origin-Embedder-Policy require-corp; #add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' http: https: blob:; style-src 'self' 'unsafe-inline' https: http:; img-src 'self' data: blob: https: http:; connect-src data: blob: https: http:; font-src 'self' https: http:; object-src 'none'; base-uri 'self'; form-action 'self';"; + include /etc/nginx/mime.types; types { application/javascript js mjs; }