Like with FoxyProxy, I want to use proxy in emacs only for URLs that match a specific regexp.
E.g., if the URL matches \\.ec2\\.internal
, I want the url-proxy-services
to be "ip-10-0-37-237.ec2.internal:8081"
, otherwise none.
Note that the no_proxy
key works the other way around - it excludes matching URLs from proxy processing, while I want to only include some URLs.