Skip to content

Commit

Permalink
Merge pull request #78 from netbootxyz/limit_envsub
Browse files Browse the repository at this point in the history
Limit envsub to only variable being changed
  • Loading branch information
antonym authored Dec 30, 2024
2 parents 9d31824 + 683adc2 commit 9f6022b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f6022b

Please sign in to comment.