colyseus / proxy

🔀⚔ Proxy and Service Discovery for Colyseus 0.10 ~ 0.14 (Not recommended on 0.15+)
https://docs.colyseus.io/scalability/
MIT License
37 stars 25 forks source link

feature: 200-code health check endpoint #17

Closed oyed closed 1 year ago

oyed commented 2 years ago

When using this in Docker, it'd be useful to have a built-in /health route which just returned an empty 200 response, currently I'm making the health check URL my.proxy.com/matchmaker which forwards it to a Colyseus server for a 200, which poses a couple problems:

damnedOperator commented 2 years ago

This is a requirement for anyone who wants to healthcheck via http (e.g in Kubernetes)

endel commented 1 year ago

Just merged https://github.com/colyseus/proxy/pull/35 addressing this 🙏