Add snippets and config

This commit is contained in:
root
2018-06-28 15:57:14 +02:00
parent 62861295b0
commit 6d76f57a54
6 changed files with 41 additions and 1 deletions

6
snippets/header.conf Normal file
View File

@@ -0,0 +1,6 @@
# -*-nginx-*-
add_header X-Content-Type-Options nosniff;
add_header Content-Security-Policy "default-src 'self'";
add_header X-XSS-Protection "1; mode=block";
add_header Referrer-Policy "strict-origin";
add_header Strict-Transport-Security "max-age=31536000" always;