Skip to content

Commit 55205ea

Browse files
committed
[fix] Incorporated changes suggested by AI reviewers
1 parent 1a7c5e4 commit 55205ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

images/common/init_command.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ elif [ "$MODULE_NAME" = 'nginx' ]; then
5757
if [ "$NGINX_CUSTOM_FILE" = 'True' ]; then
5858
nginx -g 'daemon off;'
5959
fi
60-
NGINX_EVENTS_BLOCK=$(printf "%b" "${NGINX_EVENTS_BLOCK:-}")
60+
export NGINX_EVENTS_BLOCK=$(printf "%b" "${NGINX_EVENTS_BLOCK:-}")
6161
export NGINX_WORKER_RLIMIT_NOFILE="${NGINX_WORKER_RLIMIT_NOFILE:-__UNSET__}"
6262
envsubst </etc/nginx/nginx.template.conf >/etc/nginx/nginx.conf
6363
sed -i '/__UNSET__/d; /^worker_rlimit_nofile *$/d; /^[[:space:]]*$/d' /etc/nginx/nginx.conf

0 commit comments

Comments
 (0)