zane-ops / zane-ops

A self-hosted PaaS for your web services, databases, CRONs, and everything you need for your next startup.
https://zaneops.dev
MIT License
124 stars 6 forks source link

[✨ feature] 502 error handling for caddy #277

Closed Fredkiss3 closed 1 day ago

Fredkiss3 commented 2 weeks ago

Is your feature request related to a problem? Please describe.

We have an error page for when the page that a user tries to reach isn't available because the domain isn't associated to any service we get this nice page :

Image

We need the same for when the upstream is unreachable, we can do that by adding a handler for 502 status codes (that's the status code that caddy sends).


Fredkiss3 commented 1 day ago

This could be interesting, but for later not now