Harden CSP and Referrer-Policy in HTML header
This commit is contained in:
parent
f48f9b00e9
commit
2447735aec
2 changed files with 2 additions and 1 deletions
|
|
@ -38,7 +38,6 @@ server {
|
|||
client_max_body_size 2G;
|
||||
|
||||
add_header "X-XSS-Protection" "1; mode=block";
|
||||
add_header "Content-Security-Policy" "default-src 'self' 'unsafe-inline';";
|
||||
|
||||
# Django statics and media
|
||||
# Do not directly serve media, it must be authorized
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue