Skip to content

Commit c61bbd0

Browse files
committed
Only replace APP_USER and NGINX_WORKER
1 parent e693888 commit c61bbd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
set -euxo pipefail
66

7-
# shellcheck disable=SC2094
8-
envsubst < "/etc/nginx/nginx.conf" > "/etc/nginx/nginx.conf"
7+
# shellcheck disable=SC2094,SC2016
8+
envsubst '${APP_USER} ${NGINX_WORKER}' < /etc/nginx/nginx.conf > /etc/nginx/nginx.conf
99

1010
/usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf

0 commit comments

Comments
 (0)