Skip to content

Commit

Permalink
Merge branch 'fix/csp' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Aldemylla committed Jun 3, 2024
2 parents 061d07d + e63848a commit e871f3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ http {

server {
set $CSP_DEFAULT "default-src 'self'";
set $CSP_SCRIPT "script-src 'self' 'unsafe-eval' 'unsafe-inline' 'unsafe-hashes'";
set $CSP_SCRIPT_ELEM "script-src-elem 'self' 'unsafe-inline' 'unsafe-hashes'";
set $CSP_SCRIPT "script-src 'self' 'unsafe-eval' 'unsafe-inline' 'unsafe-hashes' *";
set $CSP_SCRIPT_ELEM "script-src-elem 'self' 'unsafe-inline' 'unsafe-hashes' *";
set $CSP_FRAME_ANCESTORS "frame-ancestors 'self' https://*.weni.ai";
set $CSP_STYLE "style-src 'self' 'unsafe-hashes' 'unsafe-inline' fonts.googleapis.com";
set $CSP_FONT "font-src 'self' data: fonts.gstatic.com";
Expand Down

0 comments on commit e871f3f

Please sign in to comment.