user www-data; worker_processes <%= worker_processes %>; error_log /var/log/nginx/error.log; pid /var/run/nginx.pid; events { worker_connections <%= worker_connections %>; } http { include /etc/nginx/mime.types; default_type application/octet-stream; access_log /var/log/nginx/access.log; sendfile on; #tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 65; tcp_nodelay on; gzip on; include /etc/nginx/conf.d/*.conf; include /etc/nginx/sites-enabled/*; }