We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Envoy supports regex rewrites for paths when proxying to upstream clusters using regex_rewrite on the RouteAction https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/route_components.proto#config-route-v3-routeaction
regex_rewrite
It should be possible to also rewrite the Location header returned for redirects using the same regex rewrite config by adding regex_rewrite to the RedirecAction here https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/route_components.proto#envoy-v3-api-msg-config-route-v3-redirectaction and implementing the behavior in RouteEntryImplBase::getPathRewreite.
RouteEntryImplBase::getPathRewreite
The text was updated successfully, but these errors were encountered:
@dio feel free to assign this one to me
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Envoy supports regex rewrites for paths when proxying to upstream clusters using
regex_rewrite
on the RouteAction https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/route_components.proto#config-route-v3-routeactionIt should be possible to also rewrite the Location header returned for redirects using the same regex rewrite config by adding
regex_rewrite
to the RedirecAction here https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/route_components.proto#envoy-v3-api-msg-config-route-v3-redirectaction and implementing the behavior inRouteEntryImplBase::getPathRewreite
.The text was updated successfully, but these errors were encountered: