Fix dynamic config generation
This commit is contained in:
parent
da16ce8ad6
commit
b6b33812c9
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
PARAMS=$(echo "{\"erigonURL\": \"$ERIGON_URL\"}" | jq -aRs .)
|
PARAMS="{\"erigonURL\": $(echo $ERIGON_URL | jq -aR .)}"
|
||||||
echo $PARAMS > /usr/share/nginx/html/config.json
|
echo $PARAMS > /usr/share/nginx/html/config.json
|
||||||
nginx -g "daemon off;"
|
nginx -g "daemon off;"
|
||||||
|
|
Loading…
Reference in New Issue