X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/cf6af3a84d845fbdbc375604a086c34bff38b094..c373f9571f2a9bf2b0916ce02033cd96765b42d1:/cookbooks/nginx/templates/default/nginx.conf.erb diff --git a/cookbooks/nginx/templates/default/nginx.conf.erb b/cookbooks/nginx/templates/default/nginx.conf.erb index 903afd51c..a895af303 100644 --- a/cookbooks/nginx/templates/default/nginx.conf.erb +++ b/cookbooks/nginx/templates/default/nginx.conf.erb @@ -1,7 +1,8 @@ # DO NOT EDIT - This file is being maintained by Chef user www-data; -worker_processes <%= node['cpu']['total'] %>; +worker_processes auto; +worker_cpu_affinity auto; worker_rlimit_nofile 65536; error_log /var/log/nginx/error.log warn;