http://www.cnblogs.com/sodawy/archive/2012/08/14/2638681.html

1、nginx改变编译选项,或增加模块

     niginx -V 可见版本信息,以及目前的编译信息

     重新configure make make install 会覆盖安装,但不会覆盖nginx.conf

2、一些nginx预设变量

  http://localhost/soda?xx=xiaoxuan

      $uri     '/soda'     (经过解码,不含参数)

     $request_uri     '/soda?xx=xiaoxuan'     (原始请求,未解码,含参数)  

     $arg_xx     ‘xiaoxuan’     (对应参数key的值)

     $http_xx     (请求头中的变量群)

     $cookie_xx     (cookie变量群)

     $send_http_xx     (相应头中的变量