user www-data; worker_processes ${worker_processes}; pid /var/run/nginx.pid; events { worker_connections ${worker_connections}; } http { include /etc/nginx/mime.types; default_type application/octet-stream; charset UTF-8; override_charset on; sendfile on; #tcp_nopush on; keepalive_timeout 15; client_body_timeout 12; client_header_timeout 12; send_timeout 10; access_log off; error_log off; client_body_buffer_size 10K; client_header_buffer_size 1k; client_max_body_size 8m; large_client_header_buffers 2 1k; map $http_upgrade $connection_upgrade { default upgrade; '' close; } include /etc/nginx/sites/*; }