wojja commented on issue #10292: URL: https://github.com/apache/apisix/issues/10292#issuecomment-1911844331
I also stumbled accross this problem. I would actually be fine to use `http_proxy`. @oyiadin could you please elobarate on your suggestion? > 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. I do not really unterstand how this is supposed to work. If I set up a route and upstream in `apisix.yaml` like this, how does the HTTP proxy knows that it should forward the request to https://apisix.apache.org? ``` routes: - uri: "/apisix" upstream_id: 1 upstreams: - id: 1 nodes: "company.proxy": 1 scheme: "http" pass_host: "pass" ``` -- 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]
