1
0
Fork 0

Add routes priorities in providers

Signed-off-by: Emile Vauge <emile@vauge.com>
This commit is contained in:
Emile Vauge 2016-06-06 22:30:23 +02:00
parent 287b3ba1f4
commit f4cb4bb1b8
No known key found for this signature in database
GPG key ID: D808B4C167352E59
8 changed files with 25 additions and 4 deletions

View file

@ -30,6 +30,7 @@
[frontends.frontend-{{.ServiceName}}]
backend = "backend-{{.ServiceName}}"
passHostHeader = {{getAttribute "frontend.passHostHeader" .Attributes "true"}}
priority = {{getAttribute "frontend.priority" .Attributes "0"}}
{{$entryPoints := getAttribute "frontend.entrypoints" .Attributes ""}}
{{with $entryPoints}}
entrypoints = [{{range getEntryPoints $entryPoints}}