Change worker processes to be auto set based on CPU count

Fixes https://jira.coreos.com/browse/QS-109
This commit is contained in:
Joseph Schorr 2018-01-10 11:10:57 -05:00
parent 82db86ad3f
commit 9f996a8745

View file

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