We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a7c5e4 commit 55205eaCopy full SHA for 55205ea
images/common/init_command.sh
@@ -57,7 +57,7 @@ elif [ "$MODULE_NAME" = 'nginx' ]; then
57
if [ "$NGINX_CUSTOM_FILE" = 'True' ]; then
58
nginx -g 'daemon off;'
59
fi
60
- NGINX_EVENTS_BLOCK=$(printf "%b" "${NGINX_EVENTS_BLOCK:-}")
+ export NGINX_EVENTS_BLOCK=$(printf "%b" "${NGINX_EVENTS_BLOCK:-}")
61
export NGINX_WORKER_RLIMIT_NOFILE="${NGINX_WORKER_RLIMIT_NOFILE:-__UNSET__}"
62
envsubst </etc/nginx/nginx.template.conf >/etc/nginx/nginx.conf
63
sed -i '/__UNSET__/d; /^worker_rlimit_nofile *$/d; /^[[:space:]]*$/d' /etc/nginx/nginx.conf
0 commit comments