apt-cacher-ng https源设置

方法一,在acng.conf中设置,增加以下

PassThroughPattern: deb\.domain\.com

方法二,在客户端对https源停用代理

Acquire::http::Proxy "http://<url-to-apt-cacher-ng>:3142";
Acquire::https::Proxy "false";

方法三,在客户端对特定源停用代理

Acquire::http::Proxy "http://<url-to-apt-cacher-ng>:3142";
Acquire::HTTP::Proxy::deb.domain.com "DIRECT";