You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
johnlanni
changed the title
捕获上游 HTTP Status 302 Found 并内部处理或修改 location
实现和 nginx proxy_redirect 功能等价的 wasm 插件(Implement A wasm plugin that the functional equivalent of nginx proxy_redirect)
Nov 30, 2022
Why do you need it?
Is your feature request related to a problem? Please describe in details
我有如下的路由
假设请求
{gateway-domain}
/web/abc , 上游服务 my-web 返回 302 Found location: /abc/ . 此时如果 envoy 不处理该响应的话, 浏览器就会访问{gateway-domain}
/abc/ 了.对标 Nginx http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_redirect
How could it be?
A clear and concise description of what you want to happen. You can explain more about input of the feature, and output of it.
envoy 要么内部处理该重定向, 自动请求新的地址, 将正确结果返回客户端, 要么修改 location 字段后再返回给客户端.
Other related information
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: