mirror of
https://github.com/containous/traefik.git
synced 2025-03-19 18:50:12 +03:00
feat(kv): add basicAuth configuration.
This commit is contained in:
parent
f7ed4a5805
commit
40b59da224
@ -65,6 +65,11 @@
|
||||
"{{.}}",
|
||||
{{end}}]
|
||||
|
||||
{{$basicAuth := SplitGet $frontend "/basicauth"}}
|
||||
basicAuth = [{{range $basicAuth}}
|
||||
"{{.}}",
|
||||
{{end}}]
|
||||
|
||||
{{range $route := List $frontend "/routes/"}}
|
||||
[frontends."{{$frontendName}}".routes."{{Last $route}}"]
|
||||
rule = "{{Get "" $route "/rule"}}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user