traefik/pkg/api/testdata/routers.json
mpl 429b1d8574 API: new contract
Co-authored-by: Ludovic Fernandez <ldez@users.noreply.github.com>
2019-06-19 18:34:04 +02:00

28 lines
No EOL
459 B
JSON

[
{
"entryPoints": [
"web"
],
"middlewares": [
"auth",
"anotherprovider.addPrefixTest"
],
"name": "myprovider.bar",
"provider": "myprovider",
"rule": "Host(`foo.bar`)",
"service": "myprovider.foo-service"
},
{
"entryPoints": [
"web"
],
"middlewares": [
"addPrefixTest",
"auth"
],
"name": "myprovider.test",
"provider": "myprovider",
"rule": "Host(`foo.bar.other`)",
"service": "myprovider.foo-service"
}
]