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