mirror of https://github.com/status-im/consul.git
55 lines
1.3 KiB
Plaintext
55 lines
1.3 KiB
Plaintext
|
{
|
||
|
"nonce": "00000001",
|
||
|
"resources": [
|
||
|
{
|
||
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
||
|
"name": "8080",
|
||
|
"validateClusters": true,
|
||
|
"virtualHosts": [
|
||
|
{
|
||
|
"domains": [
|
||
|
"s2.ingress.*",
|
||
|
"s2.ingress.*:8080"
|
||
|
],
|
||
|
"name": "s2",
|
||
|
"routes": [
|
||
|
{
|
||
|
"match": {
|
||
|
"prefix": "/"
|
||
|
},
|
||
|
"route": {
|
||
|
"cluster": "s2.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
||
|
"name": "8080_s1",
|
||
|
"validateClusters": true,
|
||
|
"virtualHosts": [
|
||
|
{
|
||
|
"domains": [
|
||
|
"s1.ingress.*",
|
||
|
"s1.ingress.*:8080"
|
||
|
],
|
||
|
"name": "s1",
|
||
|
"routes": [
|
||
|
{
|
||
|
"match": {
|
||
|
"prefix": "/"
|
||
|
},
|
||
|
"route": {
|
||
|
"cluster": "s1.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"typeUrl": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
||
|
"versionInfo": "00000001"
|
||
|
}
|