
服务器
西门大扫雪
alert('1')
展开
-
nginx 自定义带参数模块
上一文基本都是从书中学来的。例子也基本都是书中的。接下来尝试着自己写了个超级简单的自定义模块。另外加了参数的解析: 照旧先将demo代码贴上:#include <ngx_config.h>#include <ngx_core.h>#include <ngx_http.h>static char* ngx_http_mytest2(ngx_conf_t *cf, ngx_command_t *c原创 2016-09-09 08:51:41 · 2553 阅读 · 0 评论 -
nginx学习
以前虽然用nginx。不过都是简单的方向代理配置。另外是有需求百度一点点解决。也不管为什么这么写。现在打算系统的学习一下总结一些:基本配置user xiezhaojun _appserveradm;#user nobody;worker_processes 1;error_log logs/error.log;#error_log logs/error.log notice;#e原创 2016-09-08 11:20:27 · 1089 阅读 · 0 评论