oyiadin commented on issue #10292: URL: https://github.com/apache/apisix/issues/10292#issuecomment-1763107385
When it comes to `http_proxy`, you can configure APISIX as follows: create an upstream with `pass_host="pass"` and set `nodes[].host` to your proxy's IP address. The HTTP proxy server could just handle it well. As for `https_proxy`, please note that APISIX (which is essentially based on Nginx) doesn't support forwarding the HTTP CONNECT method. So achieving this functionality might require modifying the code of APISIX, and potentially even Nginx itself. It's important to understand that `proxy_opts` controls the request sent by lua codes of `openid-connect`, rather than the "forwarded request" sent by Nginx to the upstream. The reason the former can be controlled is that it's constructed and sent from Lua code. However, the latter is constructed and sent from the original Nginx code, and there are no any related parameters available for it. -- 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: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org