2021-08-24 14:25:22 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"nonce": "00000001",
|
|
|
|
"resources": [
|
2021-08-24 14:25:22 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
|
|
"name": "9191",
|
|
|
|
"validateClusters": true,
|
|
|
|
"virtualHosts": [
|
2021-08-24 14:25:22 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"domains": [
|
2021-08-24 14:25:22 +00:00
|
|
|
"foo.example.com",
|
|
|
|
"foo.example.com:9191"
|
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "foo",
|
|
|
|
"routes": [
|
2021-08-24 14:25:22 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"match": {
|
|
|
|
"prefix": "/"
|
2021-08-24 14:25:22 +00:00
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"route": {
|
|
|
|
"cluster": "foo.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"timeout": "22s"
|
2021-08-24 14:25:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2023-09-11 16:40:19 +00:00
|
|
|
]
|
2021-08-24 14:25:22 +00:00
|
|
|
},
|
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
|
|
"name": "9191_web",
|
|
|
|
"validateClusters": true,
|
|
|
|
"virtualHosts": [
|
2021-08-24 14:25:22 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"domains": [
|
2021-08-24 14:25:22 +00:00
|
|
|
"www.example.com",
|
|
|
|
"www.example.com:9191"
|
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "web",
|
|
|
|
"routes": [
|
2021-08-24 14:25:22 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"match": {
|
|
|
|
"prefix": "/"
|
2021-08-24 14:25:22 +00:00
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"route": {
|
|
|
|
"cluster": "web.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"timeout": "22s"
|
2021-08-24 14:25:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2023-09-11 16:40:19 +00:00
|
|
|
]
|
2021-08-24 14:25:22 +00:00
|
|
|
}
|
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"typeUrl": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
|
|
"versionInfo": "00000001"
|
2021-08-24 14:25:22 +00:00
|
|
|
}
|