As long as the global proxy is configured, it seems that all apis are set to use.proxy=true by default.
Is there any way to manage this as an opt-in, rather than an opt-out?
So, would like to only say use.proxy = true, when we would like to go through the proxy, and if the value is not coded, or is coded and set to false, it should be handled as false.
,
We would like to configure the global proxy for our target endpoints, but would like to have it work as an opt-in, rather than an opt-out.
So if use.proxy = true, then use the proxy, rather than always using the proxy by default.
Is it possible to configure the proxy to work in this way?
Yes, you can define the default behavior as documented in
https://docs.apigee.com/private-cloud/latest/configure-forward-proxying-edge-backend-server
Your configuration would be :
conf_http_HTTPClient.use.proxy=false conf_http_HTTPClient.use.tunneling=false conf/http.properties+HTTPClient.proxy.type=HTTP conf/http.properties+HTTPClient.proxy.host=my.host.com conf/http.properties+HTTPClient.proxy.port=3128 conf/http.properties+HTTPClient.proxy.user=uName conf/http.properties+HTTPClient.proxy.password=pWord
This would enable all proxies to be "opted-out" by default. To opt in a proxy will configure the use.proxy variable as true in the HTTP Target Connection Property
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |