user nginx; worker_processes 1; pid /var/run/nginx.pid; error_log /var/log/nginx/error.log warn; events { worker_connections 1024; } http { include /etc/nginx/mime.types; default_type application/octet-stream; log_format main '$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 buffer=32k; error_log /var/log/nginx/error.log warn; sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_requests 10; keepalive_timeout 60; gzip on; gzip_http_version 1.1; gzip_comp_level 2; gzip_proxied any; gzip_vary off; gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript; gzip_min_length 1000; gzip_disable "MSIE [1-6]\."; variables_hash_max_size 1024; variables_hash_bucket_size 64; server_names_hash_bucket_size 64; types_hash_max_size 2048; types_hash_bucket_size 64; client_max_body_size "512M"; include /etc/nginx/conf.d/*.conf; }