We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3b2378 commit 755a4e6Copy full SHA for 755a4e6
zh-cn/01-NginxVariables08.tut
@@ -58,7 +58,7 @@ C<$blah>,然后我们在 Lua 代码中通过 C<ngx.var.blah>
58
这正是我们所期望的。
59
60
上面这个例子中另一个值得注意的地方是,我们在 L<ngx_lua/content_by_lua>
61
-配置指令的参数中提及了 C<$blar> 符号,但却并没有触发“变量插值”(否则
+配置指令的参数中提及了 C<$blah> 符号,但却并没有触发“变量插值”(否则
62
Nginx 会在启动时抱怨 C<$blah> 未创建)。这是因为 L<ngx_lua/content_by_lua>
63
配置指令并不支持参数的“变量插值”功能。我们前面在 L<vartut/(一)>
64
中提到过,配置指令的参数是否允许“变量插值”,其实取决于该指令的实现模块。
0 commit comments