You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.1 KiB
JSON

12 months ago
{
//这里注意以前是ReRoutes现在是Routes
"Routes": [
{
"DownstreamPathTemplate": "/WmsMainAPI/swagger.json",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 3000
}
],
"UpstreamPathTemplate": "/WmsMainAPI/swagger.json",
"UpstreamHttpMethod": [
"Get",
"Post"
]
},
{
"DownstreamPathTemplate": "/mainApi/{url}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 3000
}
],
"UpstreamPathTemplate": "/mainApi/{url}",
"UpstreamHttpMethod": [
"Get",
"Post"
],
"LoadBalancerOptions": {
"Type": "RoundRobin"
}
}
],
"GlobalConfiguration": {
"BaseUrl": "http://localhost:3008",
"RateLimitOptions": {
"DisableRateLimitHeaders": false,
"QuotaExceededMessage": "Too many requests, are you OK?",
"HttpStatusCode": 999,
"ClientIdHeader": "client_id"
}
}
}