Skip to content

Commit

Permalink
fix(csp): adds facebook
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiantela committed Nov 1, 2024
1 parent 24d32cd commit c2e5460
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ http {

server {
set $CSP_DEFAULT "default-src 'self' blob:";
set $CSP_SCRIPT "script-src 'self' 'unsafe-eval' 'unsafe-inline' www.googletagmanager.com accounts.google.com *.hotjar.com www.google-analytics.com cdn.logr-ingest.com";
set $CSP_SCRIPT "script-src 'self' 'unsafe-eval' 'unsafe-inline' www.googletagmanager.com accounts.google.com connect.facebook.net *.hotjar.com www.google-analytics.com cdn.logr-ingest.com";
set $CSP_STYLE "style-src 'self' 'unsafe-hashes' 'unsafe-inline' ilhasoft.com.br accounts.google.com fonts.googleapis.com";
set $CSP_FONT "font-src 'self' data: fonts.gstatic.com";
set $CSP_IMAGE "img-src 'self' data: blob: www.google-analytics.com www.google.com.br www.googletagmanager.com *.amazonaws.com https://tile.openstreetmap.org";
set $CSP_CONNECT "connect-src 'self' blob: *.weni.ai *.bothub.it www.google-analytics.com analytics.google.com *.hotjar.io wss://ws.hotjar.com https://cdn.plyr.io";
set $CSP_CONNECT "connect-src 'self' blob: *.weni.ai *.bothub.it accounts.google.com www.google-analytics.com analytics.google.com *.hotjar.io wss://ws.hotjar.com https://cdn.plyr.io";
set $CSP_FRAME_SRC "frame-src 'self' *.weni.ai https://td.doubleclick.net";
set $CSP_WORKER_SRC "worker-src data: blob:";
set $CSP_FRAME_ANCESTORS "frame-ancestors 'self' *.weni.ai";
Expand Down

0 comments on commit c2e5460

Please sign in to comment.