feat(kv): add basicAuth configuration.
This commit is contained in:
parent
f7ed4a5805
commit
40b59da224
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue