Support rewriting status codes in error page middleware
This commit is contained in:
parent
f0849e8ee6
commit
fa76ed57d3
18 changed files with 195 additions and 8 deletions
|
@ -737,8 +737,9 @@ func (p *Provider) createErrorPageMiddleware(client Client, namespace string, er
|
|||
}
|
||||
|
||||
errorPageMiddleware := &dynamic.ErrorPage{
|
||||
Status: errorPage.Status,
|
||||
Query: errorPage.Query,
|
||||
Status: errorPage.Status,
|
||||
StatusRewrites: errorPage.StatusRewrites,
|
||||
Query: errorPage.Query,
|
||||
}
|
||||
|
||||
cb := configBuilder{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue