From d829ba4d27bb369496fc7a1084112e2b5609b981 Mon Sep 17 00:00:00 2001 From: YoungWan Kwon <87213416+000wan@users.noreply.github.com> Date: Fri, 15 Sep 2023 20:09:14 +0900 Subject: [PATCH] Fix GA error --- nginx/nginx-production.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nginx/nginx-production.conf b/nginx/nginx-production.conf index ce9d8dfd..356a8808 100644 --- a/nginx/nginx-production.conf +++ b/nginx/nginx-production.conf @@ -16,8 +16,9 @@ server { set $CSP "${CSP}object-src 'self'; "; # Disallow Objects set $CSP "${CSP}connect-src 'self' *.channel.io *.sentry.io wss://*.channel.io "; # Connect rules for channeltalk (1/2) set $CSP "${CSP}wss://*.desk-ws.channel.io wss://*.front-ws.channel.io "; # Connect rules for channeltalk (2/2) - set $CSP "${CSP}https://www.google-analytics.com https://analytics.google.com; "; # Connect rules for google analytics - + set $CSP "${CSP}https://www.google-analytics.com https://analytics.google.com "; # Connect rules for google analytics (1/2) + set $CSP "${CSP}https://stats.g.doubleclick.net; "; # Connect rules for google analytics (2/2) + set $CSP "${CSP}img-src * data: blob:; "; # Image rules for new-ara (allow all, data, blobs) set $CSP "${CSP}script-src 'self' "; # Script rules for new-ara