Fix usage for $all.

This commit is contained in:
Globegitter 2018-09-26 16:38:16 +02:00
parent fe219db231
commit a2ccd1f224

View file

@ -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()
} }