feat: finalize core modules and gateway
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"ReverseProxy": {
|
||||
"Routes": [
|
||||
{
|
||||
"RouteId": "admin-route",
|
||||
"ClusterId": "admin",
|
||||
"Match": { "Path": "/api/admin/{**catch-all}" }
|
||||
},
|
||||
{
|
||||
"RouteId": "mini-route",
|
||||
"ClusterId": "mini",
|
||||
"Match": { "Path": "/api/mini/{**catch-all}" }
|
||||
},
|
||||
{
|
||||
"RouteId": "user-route",
|
||||
"ClusterId": "user",
|
||||
"Match": { "Path": "/api/user/{**catch-all}" }
|
||||
}
|
||||
],
|
||||
"Clusters": {
|
||||
"admin": {
|
||||
"Destinations": {
|
||||
"d1": { "Address": "http://localhost:5001/" }
|
||||
}
|
||||
},
|
||||
"mini": {
|
||||
"Destinations": {
|
||||
"d1": { "Address": "http://localhost:5002/" }
|
||||
}
|
||||
},
|
||||
"user": {
|
||||
"Destinations": {
|
||||
"d1": { "Address": "http://localhost:5003/" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user