Files
TakeoutSaaS.AdminApi/src/Gateway/TakeoutSaaS.ApiGateway/appsettings.Development.json

53 lines
1.2 KiB
JSON

{
"OpenTelemetry": {
"Enabled": false
},
"ReverseProxy": {
"Routes": {
"admin-route": {
"ClusterId": "admin",
"Match": { "Path": "/api/admin/{**catch-all}" }
},
"admin-swagger": {
"ClusterId": "admin",
"Match": { "Path": "/api/admin/swagger/{**catch-all}" },
"Transforms": [
{ "PathRemovePrefix": "/api/admin" }
]
},
"admin-swagger-v": {
"ClusterId": "admin",
"Match": { "Path": "/api/admin/v{version}/swagger/{**catch-all}" },
"Transforms": [
{ "PathPattern": "/swagger/{**catch-all}" }
]
},
"mini-route": {
"ClusterId": "mini",
"Match": { "Path": "/api/mini/{**catch-all}" }
},
"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/" }
}
}
}
}
}