Skip to content

Commit e672fe4

Browse files
authored
Update nginx.conf
1 parent 568dc59 commit e672fe4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ http {
2929
set $CSP_FONT "font-src 'self' fonts.gstatic.com";
3030
set $CSP_STYLE "style-src 'self' 'unsafe-hashes' 'unsafe-inline' ilhasoft.com.br cdnjs.cloudflare.com fonts.googleapis.com";
3131
set $CSP_IMAGE "img-src 'self' data: www.google-analytics.com www.google.com.br www.googletagmanager.com *.amazonaws.com";
32-
set $CSP_CONNECT "connect-src 'self' *.weni.ai *.bothub.it www.google-analytics.com analytics.google.com *.hotjar.io wss://ws.hotjar.com";
32+
set $CSP_CONNECT "connect-src 'self' *.weni.ai *.bothub.it www.google-analytics.com analytics.google.com *.hotjar.io wss://ws.hotjar.com https://s3.amazonaws.com";
3333
set $CSP_FRAME_ANCESTORS "frame-ancestors 'self' *.weni.ai";
3434

3535
add_header Content-Security-Policy "${CSP_DEFAULT}; ${CSP_SCRIPT}; ${CSP_STYLE}; ${CSP_FONT}; ${CSP_IMAGE}; ${CSP_CONNECT}; ${CSP_FRAME_ANCESTORS};";

0 commit comments

Comments
 (0)