摘要: 步骤1 新建模块目录 mkdir project/nginx/mymodule/helloworld 步骤2 编写模块代码 helloworld.c #include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h> static 阅读全文
posted @ 2017-10-31 14:18 小猪小象 阅读(313) 评论(0) 推荐(0)
摘要: 转载地址:http://blog.csdn.net/tjcyjd/article/details/50695922 Nginx的配置文件nginx.conf配置详解如下: user nginx nginx ; Nginx用户及组:用户 组。window下不指定 worker_processes 8; 阅读全文
posted @ 2017-10-31 11:00 小猪小象 阅读(85) 评论(0) 推荐(0)
摘要: 安装依赖库: 1 2 3 4 5 6 7 8 sudo apt-get install libgd2-xpm sudo apt-get install libgd2-xpm-dev sudo apt-get install libgeoip-dev sudo apt-get install libp 阅读全文
posted @ 2017-10-31 10:17 小猪小象 阅读(168) 评论(0) 推荐(0)