Open qicz opened 1 year ago
what's the use case? please make an agreement before starting to work
what's the use case? please make an agreement before starting to work
custom the exception error page or message, like 503, 500, 404, or others and custom exception error response data structure, more ref the envoy doc https://www.envoyproxy.io/docs/envoy/v1.25.0/configuration/http/http_conn_man/local_reply.html?highlight=local%20reply
like this? so I think is a kind of route or per listener?
the locaReplyConfig is a setting for HttpConnectionManager
. and it is different from DirectResponse
hoping #24 can solve your issue
I will also raise a issue upstream for a ResponseBodyModifier
filter
Imo, the ResponseBodyModifier
is a filter for route, but the localReplyConfig
is the global exception config
I recall there's an upstream issue about global filter, @arkodg do you recall anything?
This issue has been automatically marked as stale because it has not had activity in the last 30 days.
This issue has been automatically marked as stale because it has not had activity in the last 30 days.
@davidalger brought this up in the community meeting today, everyone in the call was a big +1 on the feature, requires an API design, though, and a little more brainstorming is needed whether we can combine a few sub features into one or not -
temporarily assigning this to you @davidalger, tia !
This issue has been automatically marked as stale because it has not had activity in the last 30 days.
This issue has been automatically marked as stale because it has not had activity in the last 30 days.
xref: https://www.envoyproxy.io/docs/envoy/v1.25.0/configuration/http/http_conn_man/local_reply.html?highlight=local%20reply
using the go-control-panel API, so some file naming styles followed
API definition