mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-09 14:07:27 +08:00
Referrer-Policy, Content-Security-Policy
This commit is contained in:
@@ -3,6 +3,10 @@ add_header X-Frame-Options "SAMEORIGIN" always;
|
||||
add_header X-XSS-Protection "1; mode=block" always;
|
||||
add_header X-Content-Type-Options "nosniff" always;
|
||||
add_header X-UA-Compatible "IE=Edge" always;
|
||||
add_header Referrer-Policy "{{ data.referrer_policy }}" always;<!--
|
||||
|
||||
✔ CSP--><span ng-if="isCSP()">
|
||||
add_header Content-Security-Policy "{{ data.content_security_policy }}" always;</span>
|
||||
|
||||
# . files
|
||||
location ~ /\. {
|
||||
|
Reference in New Issue
Block a user