mirror of
https://github.com/caprover/caprover
synced 2026-10-25 08:09:59 +00:00
Set base nginx worker_processes to auto
A single worker underutilizes multi-core CPUs. Using auto lets nginx spawn one worker per CPU core for better concurrency.
This commit is contained in:
1 parent
ba4e01abf9
commit
aca1df7e39
1 file changed
+1
-1
@@ -1,5 +1,5 @@
|
||||
user nginx;
|
||||
worker_processes 1;
|
||||
worker_processes auto;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
pid /var/run/nginx.pid;
|
||||
|
||||
Reference in new issue
Block a user