user nginx; pid /var/run/nginx.pid; worker_processes auto; worker_rlimit_nofile 4096; events { worker_connections 4096; } http { sendfile on; tcp_nopush on; tcp_nodelay on; include /etc/nginx/mime.types; default_type application/octet-stream; log_format main '[nginx] $remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log main; error_log /var/log/nginx/error.log warn; include /etc/nginx/conf.d/*.conf; } include /etc/nginx/modules/*.conf;