markokocic commented on issue #10652:
URL: https://github.com/apache/apisix/issues/10652#issuecomment-1857818000

   This is a common use case, but unfortunately, APISIX doesn't have an answer 
here. The reason is APISIX being based on nginx and nginx doesn't support 
proxies for upstreams, and also doesn't have plans to support it. Unlike curl, 
wget and some other tools.
   
   There are tricks that can be done on the network level, like setting up a 
transparent proxy, or using some third-party utility like redsocks2 or similar, 
but it's definitively more involved.
   
   I would definitively like to see an official doc how to set up a Linux or 
Docker VM with proxy support, or even a packed docker compose which works out 
of the box. I think this use case is pretty common for an API Gateway, and 
every commercial API Gateway that I can think of has an easy way to configure 
http_proxy or https_proxy on a gateway or endpoint level.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to