Different port for healthcheck + public networking

Let's say my service exposes internal endpoints on port A (healthchecks, metrics) and public endpoints on port B (a GraphQL API). I'd like to use port A for healthchecks to enable zero-downtime deployments, but port B for public networking. Is this possible?
3 Replies
Percy
Percy4mo ago
Project ID: facd5905-ff6d-47f0-b5fc-5a10c3b0c1e1
typedarray
typedarrayOP4mo ago
facd5905-ff6d-47f0-b5fc-5a10c3b0c1e1
Brody
Brody4mo ago
its not possible at this time, you would need to reverse proxy the request from port A to port B
Want results from more Discord servers?
Add your server