#user nobody; worker_processes 4; error_log /log/error.log; #access_log /log/access.log #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; server_names_hash_bucket_size 128; 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 /log/access.log; sendfile on; #tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 65; gzip on; gzip_min_length 1k; gzip_comp_level 5; gzip_types text/plain application/javascript application/x-javascript text/css application/xml ; gzip_vary on; gzip_disable "MSIE [1-6]\."; include conf.d/*; }