showerlee 2013-09-03 16:20
NGINX
阅读 (10,156) 1条评论
一.NGINX优化配置
1.主配置文件优化:
# vi /usr/local/nginx/conf/nginx.conf
-----------------------------------------
user nginx nginx;
worker_processes 8;
worker_cpu_affinity 00000001 00000010 00000100 00001000 00010000 00100000 01000000;
error_log /usr/local/nginx/logs/nginx_error.log crit;
pid /usr/local/nginx/logs/ngi...