From 2f4a7f510d07d24e033a6874d03513fa544c5196 Mon Sep 17 00:00:00 2001 From: Eduardo Picolo Date: Wed, 9 Dec 2020 18:35:12 -0300 Subject: [PATCH] =?UTF-8?q?Nginx:=20Adicionado=20permiss=C3=A3o=20unsafe-e?= =?UTF-8?q?val?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Essa modificação corrige problemas a biblioteca react-pdf-renderer --- hom-nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hom-nginx.conf b/hom-nginx.conf index 1d573dc..dfa978e 100644 --- a/hom-nginx.conf +++ b/hom-nginx.conf @@ -40,7 +40,7 @@ http { listen 443 ssl http2; add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; - add_header Content-Security-Policy "default-src 'self';script-src 'self' 'unsafe-inline';font-src fonts.gstatic.com;style-src 'self' fonts.googleapis.com;connect-src *;" always; + add_header Content-Security-Policy "default-src 'self';script-src 'self' 'unsafe-inline' 'unsafe-eval';font-src 'self' fonts.gstatic.com;style-src 'self' fonts.googleapis.com;img-src *;connect-src *;" always; add_header X-Frame-Options "SAMEORIGIN"; add_header X-XSS-Protection "1; mode=block"; expires $expires;