Merge pull request #3143 from Globegitter/patch-2

Ensure monitoring for custom error pages
This commit is contained in:
k8s-ci-robot 2018-09-26 07:59:30 -07:00 committed by GitHub
commit d4509f2450

View file

@ -786,6 +786,11 @@ stream {
{{ else }}
proxy_pass http://upstream-default-backend;
{{ end }}
{{ if not .DisableLua }}
log_by_lua_block {
monitor.call()
}
{{ end }}
}
{{ end }}
{{ end }}