Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom error page for unavailable upstream #4761

Open
dennissetiawan opened this issue Nov 23, 2023 · 2 comments
Open

Add custom error page for unavailable upstream #4761

dennissetiawan opened this issue Nov 23, 2023 · 2 comments

Comments

@dennissetiawan
Copy link

dennissetiawan commented Nov 23, 2023

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

This is related to envoy issues that previously blocked this. (envoyproxy/envoy#1178) But the issue has been resolved recently.

Describe the solution you'd like

I need to have a custom page for upstreams service that returns unavailable (503) error code.
So in case of unavailable service we can choose to :

  1. provide our own custom page that we create
  2. use pomerium default error page template page that is more user friendly
  3. Do redirection globally

Additional Context
It's great if we can configure the solutions at route level also

@kenjenkins
Copy link
Contributor

Hi @dennissetiawan, as a first step we'll change the default behavior to return an HTML error page — basically option (2) as you've listed above.

@abdennour
Copy link

What's news here ? shall we use decorators ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants