Skip to content
Snippets Groups Projects
Commit 990a0ab1 authored by Alexey Golubev's avatar Alexey Golubev Committed by GitHub
Browse files

Set NGINX_WORKER_PROCESSES=1 by default

parent 7f8c4fd3
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ NGINX_ONLYOFFICE_INCLUDES_PATH="/etc/nginx/includes";
NGINX_ONLYOFFICE_EXAMPLE_PATH=${NGINX_ONLYOFFICE_INCLUDES_PATH}/onlyoffice-documentserver-example.conf
NGINX_CONFIG_PATH="/etc/nginx/nginx.conf"
NGINX_WORKER_PROCESSES=${NGINX_WORKER_PROCESSES:-$(grep processor /proc/cpuinfo | wc -l)}
NGINX_WORKER_PROCESSES=${NGINX_WORKER_PROCESSES:-1}
NGINX_WORKER_CONNECTIONS=${NGINX_WORKER_CONNECTIONS:-$(ulimit -n)}
JWT_ENABLED=${JWT_ENABLED:-false}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment