X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/217b7d1345127dd7654fcfc3cb83b2dfb27b3162..2d43acf0477a2dbf2efaed7480d0d73454d8196e:/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 6133b2404..398cefff9 100644 --- a/cookbooks/nginx/templates/default/nginx.conf.erb +++ b/cookbooks/nginx/templates/default/nginx.conf.erb @@ -1,7 +1,7 @@ # DO NOT EDIT - This file is being maintained by Chef -user nginx; -worker_processes 4; +user www-data; +worker_processes <%= node['cpu']['total'] %>; error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid;