Compare commits

..

No commits in common. "dd4f754e7e71e5f9941987f867e8635d927c4f15" and "b9e48b8ada2e5d0ea83bb24146e1d14bbc80d300" have entirely different histories.

View file

@ -3,11 +3,5 @@
: ${BACKEND_HOST:=localhost}
: ${BACKEND_PORT:=8080}
# Wait until the backend host is resolvable
echo "Waiting for backend host $BACKEND_HOST..."
until getent hosts "$BACKEND_HOST" > /dev/null; do
sleep 1
done
envsubst '$BACKEND_HOST $BACKEND_PORT' < /etc/nginx/templates/nginx.conf.template > /etc/nginx/conf.d/default.conf
exec nginx -g 'daemon off;'