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 5ba5ddf062
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 }}