Simplify x-forwarded-prefix annotation
This commit is contained in:
parent
1ed1dd588a
commit
188295550c
7 changed files with 106 additions and 22 deletions
|
|
@ -292,7 +292,7 @@ type Location struct {
|
|||
// XForwardedPrefix allows to add a header X-Forwarded-Prefix to the request with the
|
||||
// original location.
|
||||
// +optional
|
||||
XForwardedPrefix bool `json:"xForwardedPrefix,omitempty"`
|
||||
XForwardedPrefix string `json:"xForwardedPrefix,omitempty"`
|
||||
// Logs allows to enable or disable the nginx logs
|
||||
// By default access logs are enabled and rewrite logs are disabled
|
||||
Logs log.Config `json:"logs,omitempty"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue