Skip to content

Commit

Permalink
[#314]: make the content security very lax because treebeard depends …
Browse files Browse the repository at this point in the history
…on that
  • Loading branch information
cafischer committed Oct 26, 2023
1 parent 6bbd11a commit 16ee52b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/nginx/conf.d/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ server {

add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload";
add_header Cache-Control "no-store";
add_header Content-Security-Policy "default-src 'self'; style-src 'self' 'unsafe-inline';img-src 'self' data:;";
add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data:;";

location / {
# pass requests for dynamic content to gunicorn
Expand Down

0 comments on commit 16ee52b

Please sign in to comment.