1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-01-14 02:34:22 +02:00

automatically set nginx-worker based on CPU-count

This commit is contained in:
Thomas Sänger 2017-11-12 23:21:00 +01:00
parent 118f93d049
commit ad7c5e48c5
No known key found for this signature in database
GPG Key ID: 057DDBB960D5382D

View File

@ -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";