6 lines
331 B
Text
6 lines
331 B
Text
{% from "apt-cacher/ng/map.jinja" import apt_cacher_ng with context -%}
|
|
Acquire::http::Proxy "http://{{ apt_cacher_ng.server_address }}:{{ apt_cacher_ng.server_port }}";
|
|
Acquire::https::Proxy "{{ apt_cacher_ng.https_proxy }}";
|
|
{% for host in apt_cacher_ng.local_mirrors -%}
|
|
Acquire::http::Proxy::{{ host }} "DIRECT";
|
|
{% endfor -%}
|