otterscan/run-nginx.sh

5 lines
217 B
Bash
Raw Normal View History

#!/bin/sh
2022-08-29 20:19:32 +00:00
PARAMS="{\"erigonURL\": $(echo $ERIGON_URL | jq -aR .), \"beaconAPI\": $(echo $BEACON_API_URL | jq -aR .), \"assetsURLPrefix\": \"\"}"
echo $PARAMS > /usr/share/nginx/html/config.json
nginx -g "daemon off;"