From 5f144140559c82f366b9cce15b27f9872851a997 Mon Sep 17 00:00:00 2001 From: Starystars67 Date: Thu, 2 Apr 2026 02:48:57 +0100 Subject: [PATCH] trying things at this point --- nginx.conf | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/nginx.conf b/nginx.conf index 534acab..fee0a13 100644 --- a/nginx.conf +++ b/nginx.conf @@ -15,7 +15,7 @@ server { add_header Permissions-Policy "camera=(), microphone=(), geolocation=()" always; add_header Content-Security-Policy "default-src 'self'; img-src 'self' data: https:; script-src 'self'; style-src 'self' 'unsafe-inline'; font-src 'self' data:; connect-src 'self' https://backend.beammp.com; object-src 'none'; base-uri 'self'; frame-ancestors 'none'" always; - location = /installer/BeamMP_Installer.msi { + location /installer/ { default_type application/octet-stream; add_header Content-Disposition 'attachment; filename="BeamMP_Installer.msi"' always; add_header Cache-Control "public, max-age=3600" always; @@ -31,13 +31,6 @@ server { try_files $uri $uri/ /index.html; } - location ~* \.msi$ { - default_type application/octet-stream; - add_header Content-Disposition 'attachment' always; - add_header X-Content-Type-Options nosniff always; - try_files $uri =404; - } - # Let real 404s for assets return 404s; Vue handles route-level 404 via the SPA fallback above. location /static/ {