Skip to content

Commit

Permalink
Merge pull request #852 from weni-ai/nexus-1208-sienge-in-CSP
Browse files Browse the repository at this point in the history
[Nexus-1208] Adds sienge domain in CSP
  • Loading branch information
cristiantela authored May 7, 2024
2 parents cb1d1cb + 7b106ae commit 7f834a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ http {
set $CSP_STYLE "style-src 'self' 'unsafe-hashes' 'unsafe-inline' fonts.googleapis.com";
set $CSP_FONT "font-src 'self' fonts.gstatic.com";
set $CSP_IMAGE "img-src 'self' data: www.google.com.br www.googletagmanager.com *.amazonaws.com";
set $CSP_CHILD "child-src 'self' *.weni.ai m.stripe.network js.stripe.com *.amazonaws.com";
set $CSP_CHILD "child-src 'self' *.weni.ai m.stripe.network js.stripe.com *.amazonaws.com *.doubleclick.net *.sienge.com.br";
set $CSP_CONNECT "connect-src 'self' *.weni.ai www.google-analytics.com analytics.google.com";

add_header Content-Security-Policy "${CSP_DEFAULT}; ${CSP_SCRIPT}; ${CSP_STYLE}; ${CSP_FONT}; ${CSP_IMAGE}; ${CSP_CHILD}; ${CSP_CONNECT};";
Expand Down

0 comments on commit 7f834a0

Please sign in to comment.