aboutsummaryrefslogtreecommitdiff
path: root/hosts/vps/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/vps/configuration.nix')
-rw-r--r--hosts/vps/configuration.nix11
1 files changed, 1 insertions, 10 deletions
diff --git a/hosts/vps/configuration.nix b/hosts/vps/configuration.nix
index 3e5f929..37600cf 100644
--- a/hosts/vps/configuration.nix
+++ b/hosts/vps/configuration.nix
@@ -56,16 +56,7 @@
https "max-age=31536000; includeSubdomains; preload";
}
add_header Strict-Transport-Security $hsts_header;
- add_header Content-Security-Policy
- "default-src 'self'; \
- script-src 'self'; \
- style-src 'self'; \
- img-src 'self' data:; \
- font-src 'self'; \
- connect-src 'self'; \
- object-src 'none'; \
- frame-ancestors 'none'; \
- base-uri 'self';";
+ #add_header Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' data:; font-src 'self'; connect-src 'self'; object-src 'none'; frame-ancestors 'none'; base-uri 'self';" always;
add_header 'Referrer-Policy' 'same-origin';
add_header X-Frame-Options DENY;
add_header X-Content-Type-Options nosniff;