Fix usage for $all.
This commit is contained in:
parent
fe219db231
commit
a2ccd1f224
1 changed files with 1 additions and 2 deletions
|
@ -786,8 +786,7 @@ stream {
|
||||||
{{ else }}
|
{{ else }}
|
||||||
proxy_pass http://upstream-default-backend;
|
proxy_pass http://upstream-default-backend;
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ if not .DisableLua }}
|
||||||
{{ if not $all.DisableLua }}
|
|
||||||
log_by_lua_block {
|
log_by_lua_block {
|
||||||
monitor.call()
|
monitor.call()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue