more fixes :(

This commit is contained in:
Starystars67
2026-06-17 16:23:34 +01:00
parent e5c15422c1
commit e98f946367
+2 -2
View File
@@ -16,7 +16,7 @@ server {
add_header X-Content-Type-Options "nosniff" always;
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
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 https://analytics.beammp.com; object-src 'none'; base-uri 'self'; frame-ancestors 'none'" always;
add_header Content-Security-Policy "default-src 'self'; img-src 'self' data: https:; script-src 'self' https://analytics.beammp.com; style-src 'self' 'unsafe-inline'; font-src 'self' data:; connect-src 'self' https://backend.beammp.com https://analytics.beammp.com; object-src 'none'; base-uri 'self'; frame-ancestors 'none'" always;
# Installer directory: serve files directly; return 404 for anything missing.
location ^~ /installer/ {
@@ -41,7 +41,7 @@ server {
# Legacy Keymaster paths moved permanently to the dedicated domain.
# Match both localized and non-localized URLs.
location ~* ^/(?:[a-z]{2}/)?(?:keymaster|k/dashboard)/?$ {
location ~* "^/([a-z]{2}/)?(keymaster|k/dashboard)/?$" {
return 301 https://keymaster.beammp.com/;
}