1 # DO NOT EDIT - This file is being maintained by Chef
3 <% if node[:lsb][:release].to_f >= 14.04 -%>
8 worker_processes <%= node['cpu']['total'] %>;
10 error_log /var/log/nginx/error.log warn;
11 pid /var/run/nginx.pid;
15 worker_connections 1024;
20 include /etc/nginx/mime.types;
21 default_type application/octet-stream;
23 log_format main '$remote_addr - $remote_user [$time_local] "$request" '
24 '$status $body_bytes_sent "$http_referer" '
25 '"$http_user_agent" "$http_x_forwarded_for"';
27 access_log /var/log/nginx/access.log main;
36 include /etc/nginx/conf.d/*.conf;