mirror of
https://github.com/BeamMP/BeamMP-Website.git
synced 2026-07-12 17:54:09 +00:00
more fixes :(
This commit is contained in:
+2
-2
@@ -16,7 +16,7 @@ server {
|
|||||||
add_header X-Content-Type-Options "nosniff" always;
|
add_header X-Content-Type-Options "nosniff" always;
|
||||||
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
|
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
|
||||||
add_header Permissions-Policy "camera=(), microphone=(), geolocation=()" 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.
|
# Installer directory: serve files directly; return 404 for anything missing.
|
||||||
location ^~ /installer/ {
|
location ^~ /installer/ {
|
||||||
@@ -41,7 +41,7 @@ server {
|
|||||||
|
|
||||||
# Legacy Keymaster paths moved permanently to the dedicated domain.
|
# Legacy Keymaster paths moved permanently to the dedicated domain.
|
||||||
# Match both localized and non-localized URLs.
|
# 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/;
|
return 301 https://keymaster.beammp.com/;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user