Added traefik.domain label. Corrects https://github.com/EmileVauge/traefik/issues/50
This commit is contained in:
parent
9d168c4e15
commit
27eae04e87
5 changed files with 87 additions and 73 deletions
|
|
@ -15,5 +15,5 @@
|
|||
backend = "backend{{.ID | replace "/" "-"}}"
|
||||
[frontends.frontend-{{getHost . | replace "/" "-"}}.routes.route-host-{{getHost . | replace "/" "-"}}]
|
||||
rule = "Host"
|
||||
value = "{{getHost . | replace "/" "-"}}.{{$.Domain}}"
|
||||
value = "{{getHost . | replace "/" "-"}}.{{getDomain .}}"
|
||||
{{end}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue