parent
827c0a281d
commit
bb604e18b8
2 changed files with 6 additions and 14 deletions
@ -0,0 +1,6 @@ |
|||||||
|
add_header Referrer-Policy 'no-referrer'; |
||||||
|
add_header X-Content-Type-Options "nosniff" always; |
||||||
|
add_header X-Frame-Options SAMEORIGIN always; |
||||||
|
add_header X-XSS-Protection "1; mode=block" always; |
||||||
|
add_header Content-Security-Policy "upgrade-insecure-requests"; |
||||||
|
|
@ -1,14 +0,0 @@ |
|||||||
|
|
||||||
|
|
||||||
add_header Strict-Transport-Security 'max-age=31536000'; |
|
||||||
|
|
||||||
proxy_hide_header X-XSS-Protection; |
|
||||||
proxy_hide_header X-Powered-By; |
|
||||||
|
|
||||||
add_header X-Frame-Options 'SAMEORIGIN'; |
|
||||||
add_header X-Content-Type-Options 'nosniff'; |
|
||||||
add_header X-Permitted-Cross-Domain-Policies 'none'; |
|
||||||
add_header X-XSS-Protection '1; mode=block'; |
|
||||||
add_header Referrer-Policy 'same-origin'; |
|
||||||
add_header Content-Security-Policy "upgrade-insecure-requests" always; |
|
||||||
add_header Feature-policy "accelerometer 'none';ambient-light-sensor 'none'; autoplay 'none';camera 'none';encrypted-media 'self';focus-without-user-activation 'none'; geolocation 'none';gyroscope 'none';magnetometer 'none';microphone 'none';midi 'none';payment 'none';picture-in-picture 'none'; speaker 'none';sync-xhr 'none';usb '*';vr 'none'"; |
|
Loading…
Reference in new issue