mirror of
https://github.com/nextcloud/docker.git
synced 2025-03-14 18:35:08 +01:00
Let nginx decide on number of worker processes
From https://www.nginx.com/blog/tuning-nginx/: In most cases, running one worker process per CPU core works well, and we recommend setting this directive to auto to achieve that. There are times when you may want to increase this number, such as when the worker processes have to do a lot of disk I/O.
This commit is contained in:
parent
0578591681
commit
659743a9b5
7 changed files with 7 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
worker_processes 1;
|
||||
worker_processes auto;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
pid /var/run/nginx.pid;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
worker_processes 1;
|
||||
worker_processes auto;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
pid /var/run/nginx.pid;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
worker_processes 1;
|
||||
worker_processes auto;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
pid /var/run/nginx.pid;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
worker_processes 1;
|
||||
worker_processes auto;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
pid /var/run/nginx.pid;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
worker_processes 1;
|
||||
worker_processes auto;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
pid /var/run/nginx.pid;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
worker_processes 1;
|
||||
worker_processes auto;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
pid /var/run/nginx.pid;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
worker_processes 1;
|
||||
worker_processes auto;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
pid /var/run/nginx.pid;
|
||||
|
|
Loading…
Add table
Reference in a new issue