NGINX配置文件主文件
先贴一份nginx的主配置文件的样例
user www-data;
worker_processes 8;
pid /run/nginx.pid;
worker_rlimit_nofile 100000;
events {
worker_connections 4000;
multi_accept on;
use epoll;
}
http {
##
# Basic Settings
##
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
send_timeout 30;
reset_timedout_connection on;