dstat的默认选项 与许多命令一样,dstat命令有默认选项,执行dstat命令不加任何参数,它默认会收集-cpu-、-disk-、-net-...
add_header Access-Control-Allow-Origin *; add_header Access-Control-Allo...
vim nginx.conf: HTTP模块(无cdn节点) #定义一个名为allips的limit_req_zone用来存储session,大...
#获取用户真实IP,并赋值给变量$clientRealIP map $http_x_forwarded_for $clientRealIp { ...
log_format mylog '$proxy_add_x_forwarded_for - $remote_user [$time_lo...
cd /etc/nginx/conf.d vimblockip.conf allow 103.69.71.161; allow 45.199.1...
vim/etc/sysctl.conf net.ipv4.ip_forward = 0 net.ipv4.conf.default.rp_fil...
vim /etc/security/limits.conf * soft nproc 1000000 * hard nproc 1000000 ...
1、修改/etc/security/limits.conf,添加 root soft nofile 65535 root hard nofile...