mirror of
https://github.com/BeamMP/BeamMP-Website.git
synced 2026-04-24 00:46:48 +00:00
Update nginx.conf
This commit is contained in:
@@ -15,13 +15,6 @@ server {
|
|||||||
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; 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'; 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/ {
|
|
||||||
default_type application/octet-stream;
|
|
||||||
add_header Content-Disposition 'attachment; filename="BeamMP_Installer.msi"' always;
|
|
||||||
add_header Cache-Control "public, max-age=3600" always;
|
|
||||||
try_files $uri =404;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ^~ /installer/ {
|
location ^~ /installer/ {
|
||||||
try_files $uri =404;
|
try_files $uri =404;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user