maksit-certs-ui/src/ReverseProxy/appsettings.json
Maksym Sadovnychyy f43bd04157 (feature): HA mode
2026-04-25 13:25:56 +02:00

51 lines
1.0 KiB
JSON

{
"ReverseProxy": {
"Routes": {
"well-known-acme-challenge-route": {
"Order": 5,
"Match": {
"Path": "/.well-known/acme-challenge/{**catch-all}"
},
"ClusterId": "webapiCluster"
},
"swagger-route": {
"Order": 10,
"Match": {
"Path": "/swagger/{**catch-all}"
},
"ClusterId": "webapiCluster"
},
"api-route": {
"Order": 20,
"Match": {
"Path": "/api/{**catch-all}"
},
"ClusterId": "webapiCluster"
},
"default-route": {
"Order": 1000,
"Match": {
"Path": "/{**catch-all}"
},
"ClusterId": "webuiCluster"
}
},
"Clusters": {
"webapiCluster": {
"Destinations": {
"d1": {
"Address": "http://server:5000/"
}
}
},
"webuiCluster": {
"Destinations": {
"d1": {
"Address": "http://client:5173/"
}
}
}
}
}
}