refactor rules, api enhancements
This commit is contained in:
parent
a4f542c02f
commit
ef9e773b9f
6 changed files with 8 additions and 8 deletions
|
@ -9,6 +9,6 @@
|
|||
{{$container := index $containers 0}}
|
||||
backend = "backend-{{getBackend $container}}"
|
||||
[frontends.frontend-{{$host}}.routes.route-host-{{$host}}]
|
||||
category = "Host"
|
||||
rule = "Host"
|
||||
value = "{{$host}}.{{$.Domain}}"
|
||||
{{end}}
|
|
@ -14,6 +14,6 @@
|
|||
[frontends.frontend{{.ID | replace "/" "-"}}]
|
||||
backend = "backend{{.ID | replace "/" "-"}}"
|
||||
[frontends.frontend-{{getHost . | replace "/" "-"}}.routes.route-host-{{getHost . | replace "/" "-"}}]
|
||||
category = "Host"
|
||||
rule = "Host"
|
||||
value = "{{getHost . | replace "/" "-"}}.{{$.Domain}}"
|
||||
{{end}}
|
Loading…
Add table
Add a link
Reference in a new issue