Merge pull request #78 from netbootxyz/limit_envsub

Limit envsub to only variable being changed
This commit is contained in:
Antony Messerli 2024-12-30 14:07:34 -06:00 committed by GitHub
commit 9f6022b3a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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