Add X-Forwarded-Prefix on rewrites
This commit is contained in:
parent
681663045e
commit
f5953bbfa1
9 changed files with 119 additions and 25 deletions
|
|
@ -259,6 +259,10 @@ type Location struct {
|
|||
// DefaultBackend allows the use of a custom default backend for this location.
|
||||
// +optional
|
||||
DefaultBackend *apiv1.Service `json:"defaultBackend,omitempty"`
|
||||
// XForwardedPrefix allows to add a header X-Forwarded-Prefix to the request with the
|
||||
// original location.
|
||||
// +optional
|
||||
XForwardedPrefix bool `json:"xForwardedPrefix,omitempty"`
|
||||
}
|
||||
|
||||
// SSLPassthroughBackend describes a SSL upstream server configured
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue