Replies: 1 comment 1 reply
-
should be possible in v1.5 (end July) with Redirect in Response Overrides https://gateway.envoyproxy.io/latest/api/extension_types/#responseoverride |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm new to Envoy Gateway and currently migrating from NGINX Ingress to Gateway API with Envoy Gateway as the controller.
In my current NGINX setup, I have a global error handling mechanism using a service similar to tarampampam/error-pages. When any backend service returns an error (e.g., 404,500,...), NGINX redirects the response to that error page service, which then returns a styled HTML page with CSS, images, and even JavaScript based on the error code .
I'm trying to replicate this behavior in Envoy Gateway. I’ve seen that ResponseOverrides are available, but from the documentation, it looks like they only support a fixed text response with contentType. That won't work for us since we want to serve rich error pages that could be 10MB in size and are maintained separately in a dedicated service.
Is there a way to configure Envoy Gateway to route error responses to an external service (like a dedicated error handler) and return that response instead of the original one from the backend?
If this is not currently possible, would this be a candidate for a feature request?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions