trying things at this point

This commit is contained in:
Starystars67
2026-04-02 02:48:57 +01:00
parent a253919575
commit 5f14414055

View File

@@ -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/ {