Add snippets and config
This commit is contained in:
6
snippets/header.conf
Normal file
6
snippets/header.conf
Normal 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;
|
||||
Reference in New Issue
Block a user