Merge pull request #3143 from Globegitter/patch-2
Ensure monitoring for custom error pages
This commit is contained in:
commit
5ba5ddf062
1 changed files with 5 additions and 0 deletions
|
@ -786,6 +786,11 @@ stream {
|
||||||
{{ else }}
|
{{ else }}
|
||||||
proxy_pass http://upstream-default-backend;
|
proxy_pass http://upstream-default-backend;
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ if not .DisableLua }}
|
||||||
|
log_by_lua_block {
|
||||||
|
monitor.call()
|
||||||
|
}
|
||||||
|
{{ end }}
|
||||||
}
|
}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue