From 683adc262649949bd641027f46384e7729d019b0 Mon Sep 17 00:00:00 2001 From: Antony Messerli Date: Mon, 30 Dec 2024 12:49:45 -0600 Subject: [PATCH] Limit envsub to only variable being changed --- root/init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/init.sh b/root/init.sh index 2eec0d7..1a7ad99 100755 --- a/root/init.sh +++ b/root/init.sh @@ -13,7 +13,7 @@ mkdir -p \ [[ ! -f /config/nginx/nginx.conf ]] && \ cp /defaults/nginx.conf /config/nginx/nginx.conf [[ ! -f /config/nginx/site-confs/default ]] && \ - envsubst < /defaults/default > /config/nginx/site-confs/default + envsubst '${NGINX_PORT}' < /defaults/default > /config/nginx/site-confs/default # Ownership chown -R nbxyz:nbxyz /assets