美文网首页
nginx 配置杂记-2

nginx 配置杂记-2

作者: wo是大富 | 来源:发表于2017-06-10 17:43 被阅读0次

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;

}

相关文章

网友评论

      本文标题:nginx 配置杂记-2

      本文链接:https://www.haomeiwen.com/subject/zuhcqxtx.html