diff --git a/docs/content/providers/consul-catalog.md b/docs/content/providers/consul-catalog.md index 5cdd633ca..8981e37e2 100644 --- a/docs/content/providers/consul-catalog.md +++ b/docs/content/providers/consul-catalog.md @@ -164,12 +164,12 @@ Defines the Consul server endpoint. #### `address` -_Optional, Default="http://127.0.0.1:8500"_ +_Optional, Default="127.0.0.1:8500"_ ```toml tab="File (TOML)" [providers.consulCatalog] [providers.consulCatalog.endpoint] - address = "http://127.0.0.1:8500" + address = "127.0.0.1:8500" # ... ``` @@ -177,12 +177,12 @@ _Optional, Default="http://127.0.0.1:8500"_ providers: consulCatalog: endpoint: - address: http://127.0.0.1:8500 + address: 127.0.0.1:8500 # ... ``` ```bash tab="CLI" ---providers.consulcatalog.endpoint.address=http://127.0.0.1:8500 +--providers.consulcatalog.endpoint.address=127.0.0.1:8500 # ... ``` diff --git a/docs/content/reference/static-configuration/cli-ref.md b/docs/content/reference/static-configuration/cli-ref.md index 964019f78..d7486781a 100644 --- a/docs/content/reference/static-configuration/cli-ref.md +++ b/docs/content/reference/static-configuration/cli-ref.md @@ -340,7 +340,7 @@ Constraints is an expression that Traefik matches against the container's labels Default rule. (Default: ```Host(`{{ normalize .Name }}`)```) `--providers.consulcatalog.endpoint.address`: -The address of the Consul server (Default: ```http://127.0.0.1:8500```) +The address of the Consul server (Default: ```127.0.0.1:8500```) `--providers.consulcatalog.endpoint.datacenter`: Data center to use. If not provided, the default agent data center is used diff --git a/docs/content/reference/static-configuration/env-ref.md b/docs/content/reference/static-configuration/env-ref.md index bdb2aa31e..885c29111 100644 --- a/docs/content/reference/static-configuration/env-ref.md +++ b/docs/content/reference/static-configuration/env-ref.md @@ -313,7 +313,7 @@ Constraints is an expression that Traefik matches against the container's labels Default rule. (Default: ```Host(`{{ normalize .Name }}`)```) `TRAEFIK_PROVIDERS_CONSULCATALOG_ENDPOINT_ADDRESS`: -The address of the Consul server (Default: ```http://127.0.0.1:8500```) +The address of the Consul server (Default: ```127.0.0.1:8500```) `TRAEFIK_PROVIDERS_CONSULCATALOG_ENDPOINT_DATACENTER`: Data center to use. If not provided, the default agent data center is used diff --git a/pkg/provider/consulcatalog/consul_catalog.go b/pkg/provider/consulcatalog/consul_catalog.go index 55ecaad1a..6023d8486 100644 --- a/pkg/provider/consulcatalog/consul_catalog.go +++ b/pkg/provider/consulcatalog/consul_catalog.go @@ -66,7 +66,7 @@ type EndpointConfig struct { // SetDefaults sets the default values. func (c *EndpointConfig) SetDefaults() { - c.Address = "http://127.0.0.1:8500" + c.Address = "127.0.0.1:8500" } // EndpointHTTPAuthConfig holds configurations of the authentication.