diff --git a/docs/configuration/backends/consulcatalog.md b/docs/configuration/backends/consulcatalog.md index 4712bc6e1..a14acf13b 100644 --- a/docs/configuration/backends/consulcatalog.md +++ b/docs/configuration/backends/consulcatalog.md @@ -73,7 +73,7 @@ prefix = "traefik" # - "1": previous template version (must be used only with older custom templates, see "filename") # - "2": current template version (must be used to force template version when "filename" is used) # -# templateVersion = "2" +# templateVersion = 2 ``` This backend will create routes matching on hostname based on the service name used in Consul. diff --git a/docs/configuration/backends/docker.md b/docs/configuration/backends/docker.md index eeba988a5..58ae2fe21 100644 --- a/docs/configuration/backends/docker.md +++ b/docs/configuration/backends/docker.md @@ -46,7 +46,7 @@ watch = true # - "1": previous template version (must be used only with older custom templates, see "filename") # - "2": current template version (must be used to force template version when "filename" is used) # -# templateVersion = "2" +# templateVersion = 2 # Expose containers by default in Traefik. # If set to false, containers that don't have `traefik.enable=true` will be ignored. @@ -139,7 +139,7 @@ swarmMode = true # - "1": previous template version (must be used only with older custom templates, see "filename") # - "2": current template version (must be used to force template version when "filename" is used) # -# templateVersion = "2" +# templateVersion = 2 # Expose services by default in Traefik. # diff --git a/docs/configuration/backends/ecs.md b/docs/configuration/backends/ecs.md index 12c718892..890f3df25 100644 --- a/docs/configuration/backends/ecs.md +++ b/docs/configuration/backends/ecs.md @@ -92,7 +92,7 @@ secretAccessKey = "123" # - "1": previous template version (must be used only with older custom templates, see "filename") # - "2": current template version (must be used to force template version when "filename" is used) # -# templateVersion = "2" +# templateVersion = 2 ``` If `accessKeyID`/`secretAccessKey` is not given credentials will be resolved in the following order: diff --git a/docs/configuration/backends/marathon.md b/docs/configuration/backends/marathon.md index ac84293d3..4d46dafe7 100644 --- a/docs/configuration/backends/marathon.md +++ b/docs/configuration/backends/marathon.md @@ -52,7 +52,7 @@ domain = "marathon.localhost" # - "1": previous template version (must be used only with older custom templates, see "filename") # - "2": current template version (must be used to force template version when "filename" is used) # -# templateVersion = "2" +# templateVersion = 2 # Expose Marathon apps by default in Traefik. # diff --git a/docs/configuration/backends/mesos.md b/docs/configuration/backends/mesos.md index eef67246b..063aaaacd 100644 --- a/docs/configuration/backends/mesos.md +++ b/docs/configuration/backends/mesos.md @@ -55,7 +55,7 @@ domain = "mesos.localhost" # - "1": previous template version (must be used only with older custom templates, see "filename") # - "2": current template version (must be used to force template version when "filename" is used) # -# templateVersion = "2" +# templateVersion = 2 # TLS client configuration. https://golang.org/pkg/crypto/tls/#Config # diff --git a/docs/configuration/backends/rancher.md b/docs/configuration/backends/rancher.md index 2cec99c26..2382bcae0 100644 --- a/docs/configuration/backends/rancher.md +++ b/docs/configuration/backends/rancher.md @@ -61,7 +61,7 @@ enableServiceHealthFilter = true # - "1": previous template version (must be used only with older custom templates, see "filename") # - "2": current template version (must be used to force template version when "filename" is used) # -# templateVersion = "2" +# templateVersion = 2 ``` To enable constraints see [backend-specific constraints section](/configuration/commons/#backend-specific).