From b6b33812c99a0bc5e5e8cb3b9a661587f8a62eab Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Thu, 8 Jul 2021 16:20:22 -0300 Subject: [PATCH] Fix dynamic config generation --- run-nginx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-nginx.sh b/run-nginx.sh index 9cb8352..7d83028 100755 --- a/run-nginx.sh +++ b/run-nginx.sh @@ -1,4 +1,4 @@ #!/bin/sh -PARAMS=$(echo "{\"erigonURL\": \"$ERIGON_URL\"}" | jq -aRs .) +PARAMS="{\"erigonURL\": $(echo $ERIGON_URL | jq -aR .)}" echo $PARAMS > /usr/share/nginx/html/config.json nginx -g "daemon off;"