Merge pull request #2971 from coreos-inc/joseph.schorr/QS-109/nginx-auto-scale
Change worker processes to be auto set based on CPU count
This commit is contained in:
commit
4f47808e99
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
pid /tmp/nginx.pid;
|
||||
error_log /dev/stdout;
|
||||
|
||||
worker_processes 2;
|
||||
worker_processes auto;
|
||||
worker_priority -10;
|
||||
worker_rlimit_nofile 10240;
|
||||
|
||||
|
|
Reference in a new issue