Update deployment/bare_metal/start.sh

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
This commit is contained in:
clauspeterhuebner 2023-03-06 14:37:09 +01:00 committed by GitHub
parent 931cd40068
commit 36518a636a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,8 +91,8 @@ do
echo "create ngingx config: location /api/$FEDERATION_APIVERSION to http://127.0.0.1:$FEDERATION_PORT" >> $UPDATE_HTML
envsubst '$FEDERATION_APIVERSION, $FEDERATION_PORT' < $NGINX_CONFIG_DIR/gradido-federation.conf.template >> $NGINX_CONFIG_DIR/gradido-federation.conf
done
export FEDERATION_APIVERSION=
export FEDERATION_PORT=
unset FEDERATION_APIVERSION
unset FEDERATION_PORT
echo "===================================================================================================="
# *** 2nd read gradido-federation.conf file in env variable to be replaced in 3rd step