mirror of https://github.com/hashicorp/consul
57 lines
1.4 KiB
Plaintext
57 lines
1.4 KiB
Plaintext
{
|
|
"nonce": "00000001",
|
|
"resources": [
|
|
{
|
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
"name": "9191",
|
|
"validateClusters": true,
|
|
"virtualHosts": [
|
|
{
|
|
"domains": [
|
|
"foo.example.com",
|
|
"foo.example.com:9191"
|
|
],
|
|
"name": "foo",
|
|
"routes": [
|
|
{
|
|
"match": {
|
|
"prefix": "/"
|
|
},
|
|
"route": {
|
|
"cluster": "foo.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
"timeout": "22s"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
"name": "9191_web",
|
|
"validateClusters": true,
|
|
"virtualHosts": [
|
|
{
|
|
"domains": [
|
|
"www.example.com",
|
|
"www.example.com:9191"
|
|
],
|
|
"name": "web",
|
|
"routes": [
|
|
{
|
|
"match": {
|
|
"prefix": "/"
|
|
},
|
|
"route": {
|
|
"cluster": "web.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
"timeout": "22s"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"typeUrl": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
"versionInfo": "00000001"
|
|
} |