nginx: set worker_processes to number of CPU cores
All checks were successful
Flake checks / Check (pull_request) Successful in 12m4s

and set worker_connections to 1024

https://nginx.org/en/docs/ngx_core_module.html#worker_processes
https://nginx.org/en/docs/ngx_core_module.html#worker_connections
This commit is contained in:
teutat3s 2024-04-14 17:39:56 +02:00
parent b0c466869e
commit c768203bed
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -24,6 +24,13 @@ in
# https://my.f5.com/manage/s/article/K51798430 # https://my.f5.com/manage/s/article/K51798430
proxy_headers_hash_bucket_size 128; proxy_headers_hash_bucket_size 128;
''; '';
appendConfig = ''
# Number of CPU cores
worker_processes 8;
'';
eventsConfig = ''
worker_connections 1024;
'';
}; };
security.acme = { security.acme = {