From 061d889129d6d6771edbde7a8ec08680fc561b59 Mon Sep 17 00:00:00 2001 From: redxef Date: Fri, 5 Feb 2021 15:58:46 +0100 Subject: [PATCH] Fix envsubst step. --- start-nginx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start-nginx.sh b/start-nginx.sh index fce5338..d4d4b70 100755 --- a/start-nginx.sh +++ b/start-nginx.sh @@ -24,7 +24,7 @@ sub_env_vars="$(cat /environment_variables.txt)" echo "Enabling servers" ( - pushd "/etc/nginx/sites-available" || exit $? + cd "/etc/nginx/sites-available" || exit $? mkdir "../sites-enabled" || exit $? for f in *.conf; do envsubst "$sub_env_vars" < "$f" > "../sites-enabled/$f"