nginx: set worker_processes to number of CPU cores #146

Merged
teutat3s merged 1 commit from feat/nginx-tuning into main 2024-04-14 20:22:09 +00:00

View file

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