1 # DO NOT EDIT - This file is being maintained by Chef
4 worker_processes <%= node['cpu']['total'] %>;
5 worker_rlimit_nofile 65536;
7 error_log /var/log/nginx/error.log warn;
8 pid /var/run/nginx.pid;
12 worker_connections 1024;
16 include /etc/nginx/mime.types;
17 default_type application/octet-stream;
19 server_names_hash_bucket_size 128;
21 log_format main '$remote_addr - $remote_user [$time_local] "$request" '
22 '$status $body_bytes_sent "$http_referer" '
23 '"$http_user_agent" "$http_x_forwarded_for"';
25 access_log /var/log/nginx/access.log main buffer=32k flush=1m;
31 include /etc/nginx/conf.d/*.conf;