Skip to content

Commit

Permalink
Limit envsub to only variable being changed
Browse files Browse the repository at this point in the history
  • Loading branch information
antonym authored and rjocoleman committed Jan 14, 2025
1 parent f36963f commit 277509b
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 @@ -14,7 +14,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

# create dnsmasq config, and conditionally add DHCP proxy support
if [[ ! -f /config/dnsmasq/dnsmasq.conf ]]; then
Expand Down

0 comments on commit 277509b

Please sign in to comment.