From 69b62db522d7c58b4bf661359186e78a41e0b83a Mon Sep 17 00:00:00 2001 From: "Aleksey @soar Smyrnov" Date: Sat, 28 Mar 2020 00:34:36 +0300 Subject: [PATCH] Allow any node RPC address --- docker/nginx.tpl.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/nginx.tpl.conf b/docker/nginx.tpl.conf index 0a051eb55..6d459a7f5 100644 --- a/docker/nginx.tpl.conf +++ b/docker/nginx.tpl.conf @@ -45,7 +45,7 @@ http { set $CSP '${CSP} font-src \'self\' fonts.gstatic.com;'; set $CSP '${CSP} style-src \'self\' \'unsafe-inline\' fonts.googleapis.com;'; set $CSP '${CSP} script-src \'self\' \'sha256-dumdnmFtmXukp90IByXXb9z1Q4gMA2R+DyJAVrVqxmw=\' www.google-analytics.com;'; - set $CSP '${CSP} connect-src \'self\' *.jnode.network *.jwallet.network *.etherscan.io www.google-analytics.com;'; + set $CSP '${CSP} connect-src \'self\' *.jnode.network *.jwallet.network *.etherscan.io www.google-analytics.com {{ .Env.MAIN_RPC_ADDR }};'; add_header Content-Security-Policy $CSP; root /app; try_files $uri /index.html;