Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed a typo. thanks yousong for the patch.

  • Loading branch information...
commit e3b2378dab7f575ad3f8c031494bb0e10e71dcb4 1 parent 591433c
@agentzh agentzh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  zh-cn/01-NginxVariables08.tut
View
2  zh-cn/01-NginxVariables08.tut
@@ -58,7 +58,7 @@ C<$blah>,然后我们在 Lua 代码中通过 C<ngx.var.blah>
这正是我们所期望的。
上面这个例子中另一个值得注意的地方是,我们在 L<ngx_lua/content_by_lua>
-配置指令的参数中提及了 C<$bar> 符号,但却并没有触发“变量插值”(否则
+配置指令的参数中提及了 C<$blar> 符号,但却并没有触发“变量插值”(否则
Nginx 会在启动时抱怨 C<$blah> 未创建)。这是因为 L<ngx_lua/content_by_lua>
配置指令并不支持参数的“变量插值”功能。我们前面在 L<vartut/(一)>
中提到过,配置指令的参数是否允许“变量插值”,其实取决于该指令的实现模块。

2 comments on commit e3b2378

@yousong

No. It should be "blah", instead of "blar". ;)

@agentzh
Owner

Sigh. Fixed it again :) Thanks!

Please sign in to comment.
Something went wrong with that request. Please try again.