Re: [DISCUSS] Correct the misfit behavior in proxy-rewrite and proxy-mirror plugins

2022-10-25 Thread Nicolas Frankel
Hello, I'm the one who uncovered the issue so I want to explain it. The use-case is the following: I've deployed v1 of my application. It's accessible through Apache APISIX via /v1/hello. The proxy-rewrites removes the /v1 prefix to send /hello to my upstream app. Before migrating to v2, I want

[DISCUSS] Correct the misfit behavior in proxy-rewrite and proxy-mirror plugins

2022-10-25 Thread Zeping Bai
Background: As I mentioned in the issue [1], the URI rewriting feature of proxy-rewrite and the adaptive URI of proxy-mirror do not work at the same time. proxy-mirror will still use the URI before rewriting, which is a plugin incompatibility case. Discuss: If we want to solve this problem, we n