Blog.Core/Blog.Core.AdminMvc/OcelotGatewaySet.json
2020-08-17 19:55:22 +08:00

28 lines
561 B
JSON

{
"Routes": [
{
"DownstreamPathTemplate": "/api/module/get",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 8081
},
{
"Host": "localhost",
"Port": 691
}
],
"UpstreamPathTemplate": "/gateway/api/module/get",
"UpstreamHttpMethod": [
"Get"
],
"LoadBalancerOptions": {
"Type": "RoundRobin"
}
}
],
"GlobalConfiguration": {
"BaseUrl": "http://localhost:9000"
}
}