forked from SW/traefik
API: new contract
Co-authored-by: Ludovic Fernandez <ldez@users.noreply.github.com>
This commit is contained in:
23
pkg/api/testdata/tcprouters.json
vendored
Normal file
23
pkg/api/testdata/tcprouters.json
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
[
|
||||
{
|
||||
"entryPoints": [
|
||||
"web"
|
||||
],
|
||||
"name": "myprovider.bar",
|
||||
"provider": "myprovider",
|
||||
"rule": "Host(`foo.bar`)",
|
||||
"service": "myprovider.foo-service"
|
||||
},
|
||||
{
|
||||
"entryPoints": [
|
||||
"web"
|
||||
],
|
||||
"name": "myprovider.test",
|
||||
"provider": "myprovider",
|
||||
"rule": "Host(`foo.bar.other`)",
|
||||
"service": "myprovider.foo-service",
|
||||
"tls": {
|
||||
"passthrough": false
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user