Allow preservation of trailing slashes on TLS redirects via annotation. (#7144)
* allow retaining a trailing slash in a TLS redirect via annotation. Signed-off-by: mamiller <mamiller@rosettastone.com> * requested changes * gofmt
This commit is contained in:
parent
f7cba2486c
commit
b3dfee6ada
6 changed files with 70 additions and 3 deletions
|
|
@ -31,6 +31,9 @@ type Backend struct {
|
|||
// By default this is disabled
|
||||
CustomHTTPErrors []int `json:"custom-http-errors"`
|
||||
|
||||
// toggles whether or not to remove trailing slashes during TLS redirects
|
||||
PreserveTrailingSlash bool `json:"preserve-trailing-slash"`
|
||||
|
||||
// http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size
|
||||
// Sets the maximum allowed size of the client request body
|
||||
ProxyBodySize string `json:"proxy-body-size"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue