X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/b751ec5761a9bbe60c4ba7b0665e3b9af89bfce6..c05f38004a026509d99b5f2350bfeb021e44fc42:/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 c16aa9650..398cefff9 100644 --- a/cookbooks/nginx/templates/default/nginx.conf.erb +++ b/cookbooks/nginx/templates/default/nginx.conf.erb @@ -1,10 +1,6 @@ # DO NOT EDIT - This file is being maintained by Chef -<% if node[:lsb][:release].to_f >= 14.04 -%> - user www-data; -<% else -%> - user nginx; -<% end -%> +user www-data; worker_processes <%= node['cpu']['total'] %>; error_log /var/log/nginx/error.log warn;