user www-data; worker_processes 4; pid /var/run/nginx.pid; events { worker_connections 19000; use epoll; } http { sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 5; types_hash_max_size 2048; include /etc/nginx/mime.types; default_type application/octet-stream; log_format main '[$time_local]; REQUEST: "$request"; ' 'STATUS: $status; BODY_BYTES_SENT: $body_bytes_sent; REFERER: "$http_referer"; ' 'USER_AGENT: "$http_user_agent"; IP: $http_x_forwarded_for;'; access_log /var/www/log/nginx_access.log; error_log /var/www/log/nginx_error.log; gzip off; gzip_static on; gzip_disable "msie6"; gzip_comp_level 6; gzip_min_length 1024; include /etc/nginx/conf.d/*.conf; include /etc/nginx/sites-enabled/*; }