forked from pub-solar/infra
Merge pull request 'nginx: set worker_processes to number of CPU cores' (#146) from feat/nginx-tuning into main
Reviewed-on: pub-solar/infra#146 Reviewed-by: b12f <b12f@noreply.git.pub.solar>
This commit is contained in:
commit
679d9b236f
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue