proxy-from-env icon indicating copy to clipboard operation
proxy-from-env copied to clipboard

Is it possible to add a whitelist of domains for proxy

Open fabioespinosa opened this issue 3 years ago • 1 comments

I can see we can provide a NO_PROXY, but can we actually provide a whitelist for the only urls that can be proxied?

Would you consider a contribution for such feature?

fabioespinosa avatar Sep 12 '22 09:09 fabioespinosa

What would be needed would be the ability to have negative entries in NO_PROXY:

NO_PROXY='*,!.example.com'

It would mean "don't proxy anything except example.com or its subdomains".

I don't think there's anything yet in the pseudo-standard to support it.

silverwind avatar Sep 25 '22 09:09 silverwind