摘要: 系统版本 centos7.0nginx版本 nginx1.8.0tar zxf nginx-1.8.0.tar.gzcd nginx-1.8.0/vim auto/cc/gcc 注释debug 可以减小安装后的大小vim src/core/nginx.h 隐藏n... 阅读全文
posted @ 2016-07-27 17:03 aallennty 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 转自nginx中文手册#运行用户 user nobody; #启动进程,通常设置成和cpu的数量相等 worker_processes 1;#全局错误日志及PID文件 #error_log logs/error.log; #error_log logs/error.l... 阅读全文
posted @ 2016-07-27 16:42 aallennty 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 安装nginx的时候出现./configure: error: SSL modules require the OpenSSL library. 解决方法: Centos需要安装openssl-devel Ubuntu则需要安装:sudo apt-get install lib... 阅读全文
posted @ 2016-07-27 16:29 aallennty 阅读(2010) 评论(0) 推荐(0) 编辑