mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2025-01-08 20:45:25 +00:00
Nginx docs: add 'unsafe-inline' to CSP header (to allow avatars to be loaded)
This commit is contained in:
parent
2e072affb5
commit
8e8aae17b1
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue