Forward proxies provide a single point through which multiple machines send requests to an
external server. They can enforce security policies, log and analyze requests, and perform other
actions so that requests adhere to your business rules. With Apigee hybrid, you can configure a forward proxy
that intermediates your API proxies and an external TargetEndpoint (a backend target server).
To use an HTTP forward proxy between hybrid and the TargetEndpoint, you must configure
the outbound proxy settings in your overrides file. These environment-scoped properties
route target requests from hybrid to the HTTP forward proxy. You also need to ensure
use.proxy is set to "true" for any TargetEndpoint that you want to go through an HTTP
forward proxy. See the bottom of the page for instructions.
To configure a hybrid environment for forwarding proxying, add
the envs.httpProxy property to your overrides file and apply it to the
cluster. For example:
Forward proxying is configured for an environment; all traffic going from API
proxies in that environment to backend targets goes through the specified HTTP
forward proxy. If the traffic for a
specific target of an API proxy should go directly to the backend target, bypassing the forward
proxy, then set the following property in the TargetEndpoint to override the HTTP forward
proxy:
<Property name="use.proxy">false</Property>
For more information on setting the TargetEndpoint properties, including how to configure
the connection to the target endpoint, see Endpoint properties reference.
Set use.proxy to "true" for any TargetEndpoint that you want to go through
an HTTP forward proxy:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eThis documentation covers version 1.7 of Apigee hybrid, which is end-of-life, and users should upgrade to a newer version.\u003c/p\u003e\n"],["\u003cp\u003eApigee hybrid can be configured to use a forward proxy, which acts as an intermediary between API proxies and external target servers for enforcing security and logging requests.\u003c/p\u003e\n"],["\u003cp\u003eConfiguring an HTTP forward proxy in Apigee hybrid requires setting the \u003ccode\u003eenvs.httpProxy\u003c/code\u003e property in the overrides file with the scheme, host, and port.\u003c/p\u003e\n"],["\u003cp\u003eBy default, all traffic from API proxies within a configured environment will go through the forward proxy, but this can be overridden on a per-target basis by setting the \u003ccode\u003euse.proxy\u003c/code\u003e property to "false" in the TargetEndpoint.\u003c/p\u003e\n"],["\u003cp\u003eSetting \u003ccode\u003euse.proxy\u003c/code\u003e to "true" in a TargetEndpoint ensures that traffic to that target will go through the configured HTTP forward proxy.\u003c/p\u003e\n"]]],[],null,[]]