Skip to content

Commit e3b2378

Browse files
committed
fixed a typo. thanks yousong for the patch.
1 parent 591433c commit e3b2378

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zh-cn/01-NginxVariables08.tut

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ C<$blah>,然后我们在 Lua 代码中通过 C<ngx.var.blah>
5858
这正是我们所期望的。
5959

6060
上面这个例子中另一个值得注意的地方是,我们在 L<ngx_lua/content_by_lua>
61-
配置指令的参数中提及了 C<$bar> 符号,但却并没有触发“变量插值”(否则
61+
配置指令的参数中提及了 C<$blar> 符号,但却并没有触发“变量插值”(否则
6262
Nginx 会在启动时抱怨 C<$blah> 未创建)。这是因为 L<ngx_lua/content_by_lua>
6363
配置指令并不支持参数的“变量插值”功能。我们前面在 L<vartut/(一)>
6464
中提到过,配置指令的参数是否允许“变量插值”,其实取决于该指令的实现模块。

0 commit comments

Comments
 (0)