Nginx docs: add 'unsafe-inline' to CSP header (to allow avatars to be loaded)
This commit is contained in:
parent
2e072affb5
commit
8e8aae17b1
@ -274,7 +274,7 @@ server {
|
||||
add_header X-Frame-Options DENY;
|
||||
add_header X-Content-Type-Options nosniff;
|
||||
add_header X-XSS-Protection "1; mode=block";
|
||||
add_header Content-Security-Policy "default-src 'self'; frame-ancestors 'self'; frame-src https:";
|
||||
add_header Content-Security-Policy "default-src 'self' 'unsafe-inline'; frame-ancestors 'self'; frame-src https:";
|
||||
|
||||
location ~* \.(jpg|jpeg|png|gif|ico|js|pdf)$ {
|
||||
add_header Cache-Control "public";
|
||||
|
Loading…
Reference in New Issue
Block a user