Redirection: permanent move option.
This commit is contained in:
parent
c944d203fb
commit
58d6681824
83 changed files with 622 additions and 8611 deletions
|
@ -86,6 +86,7 @@ func TestDockerServiceBuildConfiguration(t *testing.T) {
|
|||
label.Prefix + "service." + label.SuffixFrontendRedirectEntryPoint: "https",
|
||||
label.Prefix + "service." + label.SuffixFrontendRedirectRegex: "nope",
|
||||
label.Prefix + "service." + label.SuffixFrontendRedirectReplacement: "nope",
|
||||
label.Prefix + "service." + label.SuffixFrontendRedirectPermanent: "true",
|
||||
label.Prefix + "service." + label.SuffixFrontendWhitelistSourceRange: "10.10.10.10",
|
||||
|
||||
label.Prefix + "service." + label.SuffixFrontendRequestHeaders: "Access-Control-Allow-Methods:POST,GET,OPTIONS || Content-type: application/json; charset=utf-8",
|
||||
|
@ -218,6 +219,7 @@ func TestDockerServiceBuildConfiguration(t *testing.T) {
|
|||
EntryPoint: "https",
|
||||
Regex: "",
|
||||
Replacement: "",
|
||||
Permanent: true,
|
||||
},
|
||||
|
||||
Routes: map[string]types.Route{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue