user www; worker_processes 1; pid /var/run/nginx.pid; events { worker_connections 1024; use epoll; } http { include 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"'; client_body_timeout 15; client_header_timeout 15; send_timeout 15; server_tokens off; server_names_hash_bucket_size 64; sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 0; ignore_invalid_headers on; gzip on; gzip_static on; gzip_comp_level 9; gzip_buffers 16 8k; gzip_http_version 1.0; gzip_min_length 1024; gzip_vary on; gzip_proxied any; gzip_disable "MSIE [1-6]\.(?!.*SV1)"; gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/xml application/xml+rss; include /applications/nginx/conf/host/*; }