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:
josephschorr 2018-01-10 14:48:09 -05:00 committed by GitHub
commit 4f47808e99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;