From ad7c5e48c527c5eb7dc56d57e276704e9e6702a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20S=C3=A4nger?= Date: Sun, 12 Nov 2017 23:21:00 +0100 Subject: [PATCH] automatically set nginx-worker based on CPU-count --- core/nginx/conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/nginx/conf/nginx.conf b/core/nginx/conf/nginx.conf index 13bc0e7e..9ad7019b 100644 --- a/core/nginx/conf/nginx.conf +++ b/core/nginx/conf/nginx.conf @@ -1,6 +1,6 @@ # Basic configuration user nginx; -worker_processes 4; +worker_processes auto; error_log /dev/stderr info; pid /var/run/nginx.pid; load_module "modules/ngx_mail_module.so";