diff --git a/docs/content/reference/static-configuration/file.toml b/docs/content/reference/static-configuration/file.toml index fce1dc4d3..2e689e038 100644 --- a/docs/content/reference/static-configuration/file.toml +++ b/docs/content/reference/static-configuration/file.toml @@ -152,7 +152,7 @@ username = "foobar" password = "foobar" [providers.consul] - rootKey = "traefik" + rootKey = "foobar" endpoints = ["foobar", "foobar"] username = "foobar" password = "foobar" @@ -163,7 +163,7 @@ key = "foobar" insecureSkipVerify = true [providers.etcd] - rootKey = "traefik" + rootKey = "foobar" endpoints = ["foobar", "foobar"] username = "foobar" password = "foobar" @@ -174,7 +174,7 @@ key = "foobar" insecureSkipVerify = true [providers.zooKeeper] - rootKey = "traefik" + rootKey = "foobar" endpoints = ["foobar", "foobar"] username = "foobar" password = "foobar" @@ -185,7 +185,7 @@ key = "foobar" insecureSkipVerify = true [providers.redis] - rootKey = "traefik" + rootKey = "foobar" endpoints = ["foobar", "foobar"] username = "foobar" password = "foobar" diff --git a/docs/content/reference/static-configuration/file.yaml b/docs/content/reference/static-configuration/file.yaml index a8ab3acda..f8eea1ef5 100644 --- a/docs/content/reference/static-configuration/file.yaml +++ b/docs/content/reference/static-configuration/file.yaml @@ -125,7 +125,7 @@ providers: - foobar labelSelector: foobar ingressClass: foobar - throttleDuration: 10s + throttleDuration: 42s rest: insecure: true rancher: @@ -162,7 +162,7 @@ providers: username: foobar password: foobar consul: - rootKey: traefik + rootKey: foobar endpoints: - foobar - foobar @@ -175,7 +175,7 @@ providers: key: foobar insecureSkipVerify: true etcd: - rootKey: traefik + rootKey: foobar endpoints: - foobar - foobar @@ -188,10 +188,10 @@ providers: key: foobar insecureSkipVerify: true zooKeeper: - rootKey: traefik + rootKey: foobar endpoints: - - foobar - - foobar + - foobar + - foobar username: foobar password: foobar tls: @@ -201,10 +201,10 @@ providers: key: foobar insecureSkipVerify: true redis: - rootKey: traefik + rootKey: foobar endpoints: - - foobar - - foobar + - foobar + - foobar username: foobar password: foobar tls: diff --git a/pkg/config/static/entrypoints.go b/pkg/config/static/entrypoints.go index 1c0e030ca..66417d186 100644 --- a/pkg/config/static/entrypoints.go +++ b/pkg/config/static/entrypoints.go @@ -62,7 +62,7 @@ type Redirections struct { // RedirectEntryPoint is the definition of an entry point redirection. type RedirectEntryPoint struct { To string `description:"Targeted entry point of the redirection." json:"to,omitempty" toml:"to,omitempty" yaml:"to,omitempty"` - Scheme string `description:"Scheme used for the redirection." json:"https,omitempty" toml:"https,omitempty" yaml:"https,omitempty"` + Scheme string `description:"Scheme used for the redirection." json:"scheme,omitempty" toml:"scheme,omitempty" yaml:"scheme,omitempty"` Permanent bool `description:"Applies a permanent redirection." json:"permanent,omitempty" toml:"permanent,omitempty" yaml:"permanent,omitempty"` Priority int `description:"Priority of the generated router." json:"priority,omitempty" toml:"priority,omitempty" yaml:"priority,omitempty"` }