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;"