2014-07-06 19:27:51 -04:00
|
|
|
apt_cacher:
|
|
|
|
host: cacher.mycompany.com
|
|
|
|
admin_email: admin@mycompany.com
|
2014-09-04 00:18:34 -04:00
|
|
|
group: www-data
|
|
|
|
user: www-data
|
|
|
|
#ip for upstream connection
|
|
|
|
interface: 10.10.0.1
|
2014-07-06 19:27:51 -04:00
|
|
|
|
|
|
|
apt_cacher_ng:
|
|
|
|
# Setting up server_address is the minimal configuration requirement.
|
|
|
|
# Others options has default sane values (see map.jinja).
|
|
|
|
# server_address is the address access by apt-cacher-ng clients.
|
|
|
|
# It could be an IPv4 or a FQDN; This address MUST be resolvable by clients.
|
|
|
|
server_address: pkgproxy.example.com
|
|
|
|
|
|
|
|
# Server binds to this address.
|
|
|
|
# It could be the same value as server_address (in most cases).
|
|
|
|
server_bind_address: 192.168.33.10
|
|
|
|
|
|
|
|
server_port: 3142
|
2014-11-27 17:38:31 -05:00
|
|
|
server_cache_dir: /var/cache/apt-cacher-ng
|
|
|
|
server_log_dir: /var/log/apt-cacher-ng
|
2015-09-25 10:44:00 -04:00
|
|
|
server_extra_config: |
|
|
|
|
# Workaround apt-cacher-ng 500 Invalid header
|
|
|
|
# https://lists.alioth.debian.org/pipermail/apt-cacher-ng-users/2013-September/000082.html
|
|
|
|
ReuseConnections: 0
|
2014-07-06 19:27:51 -04:00
|
|
|
|
|
|
|
# Credentials for apt-cacher-ng Web management interface.
|
|
|
|
# http://<server_adress>:<server_port>/acng-report.html
|
|
|
|
admin_account: root
|
|
|
|
admin_passwd: admin
|