automatically set nginx-worker based on CPU-count

master
Thomas Sänger 7 years ago
parent 118f93d049
commit ad7c5e48c5
No known key found for this signature in database
GPG Key ID: 057DDBB960D5382D

@ -1,6 +1,6 @@
# Basic configuration # Basic configuration
user nginx; user nginx;
worker_processes 4; worker_processes auto;
error_log /dev/stderr info; error_log /dev/stderr info;
pid /var/run/nginx.pid; pid /var/run/nginx.pid;
load_module "modules/ngx_mail_module.so"; load_module "modules/ngx_mail_module.so";

Loading…
Cancel
Save