nginx.conf 配置
#user nobody;
worker_processes 8;
worker_cpu_affinity auto;
events {
worker_connections 102400;
}
http {
include mime.types;
default_type application/octet-stream;
log_format main '"$remote_addr" - $remote_user [$time_local] "$host" "$request" "$request_body" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" ';
sendfile on;
tcp_nopush on;
keepalive_timeout 65;
include /usr/local/openresty/nginx/vhosts/*.conf;
}
网友评论