liuhengloveyou commented on issue #2280: URL: https://github.com/apache/apisix/issues/2280#issuecomment-706467734
> Hi Maybe I didnt explain clearly... I dont think the proxy-rewrite will solve the issue. basically, I am calling from inside a company, which has a forward proxy to access outside world. this is a typical set up for pretty much all companies. while: > "caller ---> https://httpbin.org/get?foo1=bar1&foo2=bar2" works > the "caller --->http://127.0.0.1:9080/get?foo1=bar1&foo2=bar2 --->https://httpbin.org/get?foo1=bar1&foo2=bar2" should also work. > This is the basic functionality for API roting, it should be provided. Hope what I explained made sense to you. If you think proxy-rewrite works for apisix, please share with an example on how I should use it in this case. Thank you. I understand the effect you want. apisix and nginx are not supported by default. The reason I said proxy-rewrite might be worth a try is that some http-proxy protocols are simpler and only require a header or request parameters. You need to try to see if you can request your company's proxy protocol by rewriting it. Alternatively, apisix may need to implement a plug-in that supports the standard http-proxy protocol. @membphis ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
