Use forward proxying to a backend using javascript https client

We are currently using forward Proxying from Edge to a Backend using below property on the http target connection. This is working fine. I want to implement the same in Javascript. I am making a https call using javascript policy but apigee is not able to establish a connection to the backend because it's not using the forward proxying. Is there a way to add use.proxy setting somewhere in Javascript policy so the connection works from edge to backend?

<HTTPTargetConnection>
    <Properties>
        <Property name="use.proxy">true</Property>
    </Properties>
</HTTPTargetConnection>
1 1 132
1 REPLY 1

If you're on OPDK, https://docs.apigee.com/private-cloud/v4.18.05/configure-forward-proxying-edge-backend-server might help you as this sets an MP-wide default proxy.