Use auto
on nginx configs
Let nginx work it out, and default to 1 per core
This commit is contained in:
parent
6e25403b3d
commit
a278443850
3 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
worker_processes {{ ansible_processor_nproc }};
|
worker_processes auto;
|
||||||
|
|
||||||
events {
|
events {
|
||||||
worker_connections 1024;
|
worker_connections 1024;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
worker_processes 1;
|
worker_processes auto;
|
||||||
|
|
||||||
events {
|
events {
|
||||||
worker_connections 1024;
|
worker_connections 1024;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
worker_processes 2;
|
worker_processes auto;
|
||||||
|
|
||||||
events {
|
events {
|
||||||
worker_connections 1024;
|
worker_connections 1024;
|
||||||
|
|
Loading…
Reference in a new issue