maksit-certs-ui/src/ReverseProxy/appsettings.json
2025-11-02 20:42:55 +01:00

35 lines
885 B
JSON

{
"ReverseProxy": {
"Routes": {
"well-known-acme-challenge-route": {
"Match": { "Path": "/.well-known/acme-challenge/{**catch-all}" },
"ClusterId": "letsencrypt-server"
},
"swagger-route": {
"Match": { "Path": "/swagger/{**catch-all}" },
"ClusterId": "letsencrypt-server"
},
"api-route": {
"Match": { "Path": "/api/{**catch-all}" },
"ClusterId": "letsencrypt-server"
},
"default-route": {
"Match": { "Path": "{**catch-all}" },
"ClusterId": "letsencrypt-app"
}
},
"Clusters": {
"letsencrypt-server": {
"Destinations": {
"d1": { "Address": "http://certs-ui-server:5000/" }
}
},
"letsencrypt-app": {
"Destinations": {
"d1": { "Address": "http://certs-ui-client:5173/" }
}
}
}
}
}