2019-05-16 08:58:06 +00:00
|
|
|
{
|
|
|
|
"routers": {
|
2019-06-21 07:54:04 +00:00
|
|
|
"bar@myprovider": {
|
2019-05-16 08:58:06 +00:00
|
|
|
"entryPoints": [
|
|
|
|
"web"
|
|
|
|
],
|
|
|
|
"middlewares": [
|
|
|
|
"auth",
|
2019-06-21 07:54:04 +00:00
|
|
|
"addPrefixTest@anotherprovider"
|
2019-05-16 08:58:06 +00:00
|
|
|
],
|
2019-06-21 07:54:04 +00:00
|
|
|
"service": "foo-service@myprovider",
|
2019-05-16 08:58:06 +00:00
|
|
|
"rule": "Host(`foo.bar`)"
|
|
|
|
},
|
2019-06-21 07:54:04 +00:00
|
|
|
"test@myprovider": {
|
2019-05-16 08:58:06 +00:00
|
|
|
"entryPoints": [
|
|
|
|
"web"
|
|
|
|
],
|
|
|
|
"middlewares": [
|
|
|
|
"addPrefixTest",
|
|
|
|
"auth"
|
|
|
|
],
|
2019-06-21 07:54:04 +00:00
|
|
|
"service": "foo-service@myprovider",
|
2019-05-16 08:58:06 +00:00
|
|
|
"rule": "Host(`foo.bar.other`)"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"middlewares": {
|
2019-06-21 07:54:04 +00:00
|
|
|
"addPrefixTest@anotherprovider": {
|
2019-05-16 08:58:06 +00:00
|
|
|
"addPrefix": {
|
|
|
|
"prefix": "/toto"
|
|
|
|
},
|
|
|
|
"usedBy": [
|
2019-06-21 07:54:04 +00:00
|
|
|
"bar@myprovider"
|
2019-05-16 08:58:06 +00:00
|
|
|
]
|
|
|
|
},
|
2019-06-21 07:54:04 +00:00
|
|
|
"addPrefixTest@myprovider": {
|
2019-05-16 08:58:06 +00:00
|
|
|
"addPrefix": {
|
|
|
|
"prefix": "/titi"
|
|
|
|
},
|
|
|
|
"usedBy": [
|
2019-06-21 07:54:04 +00:00
|
|
|
"test@myprovider"
|
2019-05-16 08:58:06 +00:00
|
|
|
]
|
|
|
|
},
|
2019-06-21 07:54:04 +00:00
|
|
|
"auth@myprovider": {
|
2019-05-16 08:58:06 +00:00
|
|
|
"basicAuth": {
|
|
|
|
"users": [
|
|
|
|
"admin:admin"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"usedBy": [
|
2019-06-21 07:54:04 +00:00
|
|
|
"bar@myprovider",
|
|
|
|
"test@myprovider"
|
2019-05-16 08:58:06 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"services": {
|
2019-06-21 07:54:04 +00:00
|
|
|
"foo-service@myprovider": {
|
2019-05-16 08:58:06 +00:00
|
|
|
"loadbalancer": {
|
|
|
|
"servers": [
|
|
|
|
{
|
2019-06-05 20:18:06 +00:00
|
|
|
"url": "http://127.0.0.1"
|
2019-05-16 08:58:06 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"passHostHeader": false
|
|
|
|
},
|
|
|
|
"usedBy": [
|
2019-06-21 07:54:04 +00:00
|
|
|
"bar@myprovider",
|
|
|
|
"test@myprovider"
|
2019-05-16 08:58:06 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tcpRouters": {
|
2019-06-21 07:54:04 +00:00
|
|
|
"tcpbar@myprovider": {
|
2019-05-16 08:58:06 +00:00
|
|
|
"entryPoints": [
|
|
|
|
"web"
|
|
|
|
],
|
2019-06-21 07:54:04 +00:00
|
|
|
"service": "tcpfoo-service@myprovider",
|
2019-05-16 08:58:06 +00:00
|
|
|
"rule": "HostSNI(`foo.bar`)"
|
|
|
|
},
|
2019-06-21 07:54:04 +00:00
|
|
|
"tcptest@myprovider": {
|
2019-05-16 08:58:06 +00:00
|
|
|
"entryPoints": [
|
|
|
|
"web"
|
|
|
|
],
|
2019-06-21 07:54:04 +00:00
|
|
|
"service": "tcpfoo-service@myprovider",
|
2019-05-16 08:58:06 +00:00
|
|
|
"rule": "HostSNI(`foo.bar.other`)"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tcpServices": {
|
2019-06-21 07:54:04 +00:00
|
|
|
"tcpfoo-service@myprovider": {
|
2019-05-16 08:58:06 +00:00
|
|
|
"loadbalancer": {
|
|
|
|
"servers": [
|
|
|
|
{
|
2019-06-05 20:18:06 +00:00
|
|
|
"address": "127.0.0.1"
|
2019-05-16 08:58:06 +00:00
|
|
|
}
|
2019-06-05 20:18:06 +00:00
|
|
|
]
|
2019-05-16 08:58:06 +00:00
|
|
|
},
|
|
|
|
"usedBy": [
|
2019-06-21 07:54:04 +00:00
|
|
|
"tcpbar@myprovider",
|
|
|
|
"tcptest@myprovider"
|
2019-05-16 08:58:06 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|