Infinity datasource - No_Proxy environment variable

I have configured infinity datasource to get a response from a api
Example Api : local.hello.com/api

But for this to work i have set up a authentication in the so the bearer automatically comes in header.

But the problem is the api will not work as it has to come through a non proxy.
If i take out the proxy and keep as none, then my bearer token will not work as it requires proxy.

Any solution how can we keep a NO_Proxy for only the api i give or any other.