1
0
Fork 0

doc: template version for ECS, Consul Catalog and Mesos.

This commit is contained in:
Fernandez Ludovic 2018-03-29 00:18:50 +02:00 committed by Traefiker Bot
parent 5c0b18efe4
commit 6845068b82
3 changed files with 40 additions and 5 deletions

View file

@ -58,6 +58,22 @@ prefix = "traefik"
# cert = "/etc/ssl/consul.crt"
# key = "/etc/ssl/consul.key"
# insecureskipverify = true
# Override default configuration template.
# For advanced users :)
#
# Optional
#
# filename = "consulcatalog.tmpl"
# Override template version
# For advanced users :)
#
# Optional
# - "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"
```
This backend will create routes matching on hostname based on the service name used in Consul.