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 c6b1c9b commit 1a7c5e4Copy full SHA for 1a7c5e4
images/common/init_command.sh
@@ -58,9 +58,9 @@ elif [ "$MODULE_NAME" = 'nginx' ]; then
58
nginx -g 'daemon off;'
59
fi
60
NGINX_EVENTS_BLOCK=$(printf "%b" "${NGINX_EVENTS_BLOCK:-}")
61
- NGINX_WORKER_RLIMIT_NOFILE="${NGINX_WORKER_RLIMIT_NOFILE:-__UNSET__}"
+ 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; /^[ \t]*$/d' /etc/nginx/nginx.conf
+ sed -i '/__UNSET__/d; /^worker_rlimit_nofile *$/d; /^[[:space:]]*$/d' /etc/nginx/nginx.conf
64
envsubst_create_config /etc/nginx/openwisp.internal.template.conf internal INTERNAL
65
if [ "$SSL_CERT_MODE" = 'Yes' ]; then
66
nginx_prod
0 commit comments