nginx初探(1)
摘要:
(1)Nginx配置文件事实上是一个脚本语言,类似于perl和shell 1)set set是赋值语句,主要用于给modules里面定义的变量赋值,例如 set $a "hello world"; 这样就是给某个模块里面变量为a的这个参数进行了赋值 2)rewirte 内部跳转指令 rewrite ^ /bar 3) 内部变量 对于一个网址 http://localhost:8080/test?a=3&b=4 $uri = /test $request_uri = /test?a=3&b=4 $arg_a=3 $args ="a=3&b=4 阅读全文
posted @ 2011-12-29 23:40 徐佳佳crest 阅读(206) 评论(0) 推荐(0)
浙公网安备 33010602011771号