user www-data;
worker_processes auto;
worker_cpu_affinity auto;
-worker_rlimit_nofile 65536;
+worker_rlimit_nofile 98304;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
'"$http_user_agent" "$http_x_forwarded_for"';
access_log <%= node[:nginx][:access_log] %> main buffer=32k flush=1m;
+<% else -%>
+ access_log off;
<% end -%>
keepalive_timeout 65;