I recently switched to Ubuntu 15.10.
I need to use a proxy to connect to external internet.And on my local internet there's a repo that doesn't require proxy to connect.
So I wrote something like this in /etc/apt/apt.conf.d/proxy
Acquire::http::Proxy::google.com "http://XXX:8087";
Acquire::http::Proxy::spotify.com "http://XXX:8087";
Unfortunately,this doesn't work, apt-get update says failed to connect google spotify. I also tried change it to this.
Acquire::http::Proxy "http://XXX:8087";
I can connect to google and spotify now, but I can't connect to my local repo. Isn't there a better workaround?
google.com
ordl.google.com
orwww.google.com
, or some other subdomain ofgoogle.com
altogether?