Config/Annotations: Add relative-redirects. (#12161)
This commit is contained in:
parent
0207d1878a
commit
698960e9b7
8 changed files with 182 additions and 0 deletions
|
|
@ -125,6 +125,11 @@ type Backend struct {
|
|||
// Default: false
|
||||
UsePortInRedirects bool `json:"use-port-in-redirects"`
|
||||
|
||||
// Enables or disables relative redirects. By default nginx uses absolute redirects.
|
||||
// http://nginx.org/en/docs/http/ngx_http_core_module.html#absolute_redirect
|
||||
// Default: false
|
||||
RelativeRedirects bool `json:"relative-redirects"`
|
||||
|
||||
// Enable stickiness by client-server mapping based on a NGINX variable, text or a combination of both.
|
||||
// A consistent hashing method will be used which ensures only a few keys would be remapped to different
|
||||
// servers on upstream group changes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue