Renamed the route "receiver-ui" to "receiver-ui-receiver" and added new routes for more specific path handling:
- "receiver-ui-receiver" for `/receiver/{**catch-all}`.
- "receiver-ui-sender" for `/sender/{**catch-all}`.
- "receiver-ui-envelope" for `/envelope/{**catch-all}`.
- "receiver-ui-static-assets" for `{**catch-all}` as a fallback.
These changes improve routing granularity for the "receiver-ui" cluster.
77 lines
1.8 KiB
JSON
77 lines
1.8 KiB
JSON
{
|
|
"ReverseProxy": {
|
|
"Routes": {
|
|
"receiver-ui-receiver": {
|
|
"ClusterId": "receiver-ui",
|
|
"Order": 100,
|
|
"Match": {
|
|
"Path": "/receiver/{**catch-all}",
|
|
"Methods": [ "GET", "HEAD" ]
|
|
}
|
|
},
|
|
"receiver-ui-sender": {
|
|
"ClusterId": "receiver-ui",
|
|
"Order": 100,
|
|
"Match": {
|
|
"Path": "/sender/{**catch-all}",
|
|
"Methods": [ "GET", "HEAD" ]
|
|
}
|
|
},
|
|
"receiver-ui-envelope": {
|
|
"ClusterId": "receiver-ui",
|
|
"Order": 100,
|
|
"Match": {
|
|
"Path": "/envelope/{**catch-all}",
|
|
"Methods": [ "GET", "HEAD" ]
|
|
}
|
|
},
|
|
"receiver-ui-static-assets": {
|
|
"ClusterId": "receiver-ui",
|
|
"Order": 999,
|
|
"Match": {
|
|
"Path": "{**catch-all}",
|
|
"Methods": [ "GET", "HEAD" ]
|
|
}
|
|
},
|
|
"auth-login": {
|
|
"ClusterId": "auth-hub",
|
|
"Match": {
|
|
"Path": "/api/auth",
|
|
"Methods": [ "POST" ]
|
|
},
|
|
"Transforms": [
|
|
{ "PathSet": "/api/auth/sign-flow" }
|
|
]
|
|
},
|
|
"auth-envelope-receiver-login": {
|
|
"ClusterId": "auth-hub",
|
|
"Match": {
|
|
"Path": "/api/Auth/envelope-receiver/{key}",
|
|
"Methods": [ "POST" ]
|
|
},
|
|
"Transforms": [
|
|
{ "PathPattern": "/api/auth/envelope-receiver/{key}" },
|
|
{ "QueryValueParameter": "cookie", "Set": "true" }
|
|
]
|
|
}
|
|
},
|
|
"Clusters": {
|
|
"receiver-ui": {
|
|
"Destinations": {
|
|
"primary": {
|
|
"Address": "https://localhost:52936"
|
|
}
|
|
}
|
|
},
|
|
"auth-hub": {
|
|
"Destinations": {
|
|
"primary": {
|
|
"Address": "http://172.24.12.39:9090"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|