formula-apt-cacher/apt-cacher/ng/files/client.conf

7 lines
331 B
Text
Raw Normal View History

{% from "apt-cacher/ng/map.jinja" import apt_cacher_ng with context -%}
2014-07-06 19:27:51 -04:00
Acquire::http::Proxy "http://{{ apt_cacher_ng.server_address }}:{{ apt_cacher_ng.server_port }}";
Acquire::https::Proxy "{{ apt_cacher_ng.https_proxy }}";
2018-04-27 16:27:40 -04:00
{% for host in apt_cacher_ng.local_mirrors -%}
Acquire::http::Proxy::{{ host }} "DIRECT";
{% endfor -%}