摘要: 1、nginx改变编译选项,或增加模块 niginx -V 可见版本信息,以及目前的编译信息 重新configure make make install 会覆盖安装,但不会覆盖nginx.conf2、设置用户变量 set $a ‘hi’; (set会在进入{}时执行,类似js中预加载) 3、安装echo组件,在编译时,加上--add-module=/path… http://wiki.nginx.org/HttpEchoModule#Installation4、服务器内部跳转location间set的变量是互相可见的,以一个请求为生命周期。 location /a { s... 阅读全文
posted @ 2012-08-14 18:31 王冶soda 阅读(5420) 评论(0) 推荐(0) 编辑