Fix envsubst step.

This commit is contained in:
redxef 2021-02-05 15:58:46 +01:00
parent d7145be3b4
commit 061d889129

View file

@ -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"