fix 逻辑调整

This commit is contained in:
2024-09-05 15:46:27 +08:00
parent 4b1d1520b8
commit 8330cb7095
13 changed files with 113 additions and 75 deletions

View File

@@ -44,6 +44,17 @@
}
]
},
{
"UpstreamPathTemplate": "/basic/swagger/v1/swagger.json",
"DownstreamPathTemplate": "/swagger/v1/swagger.json",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 5002
}
]
},
{
"UpstreamPathTemplate": "/api/scheduled/{url}",
"DownstreamPathTemplate": "/api/{url}",
@@ -66,14 +77,25 @@
}
]
},
{
"UpstreamPathTemplate": "/api/external/{url}",
"DownstreamPathTemplate": "/api/{url}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 5020
}
]
},
{
"UpstreamPathTemplate": "/{url}/swagger/v1/swagger.json",
"DownstreamPathTemplate": "/{url}/swagger/v1/swagger.json",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "192.168.199.115",
"Port": 6000
"Host": "localhost",
"Port": 5000
}
]
}