blob: 46c8ca902fb0996d9db2e2a943fd50aec3b7bf4c [file] [log] [blame]
Pavel Cizinskye2677872017-01-31 22:09:12 +01001
2=============
3apt-cacher-ng
4=============
5
6Apt-Cacher NG is a caching HTTP proxy intended for use with download clients of system distribution's package managers.
7
8Sample pillars
9==============
10
11Single apt-cacher service
12
13.. code-block:: yaml
14
15 apt-cacher:
16 server:
17 enabled: true
18 bind:
19 address: 0.0.0.0
20 port: 3142
21
Damian Szeluga775e3332017-03-16 13:19:03 +010022
23More advanced setup with Proxy and passthru patterns
24
25.. code-block:: yaml
26 aptcacher:
27 server:
28 enabled: true
29 bind:
30 address: 0.0.0.0
31 port: 3142
32 proxy: 'http://proxy-user:proxy-pass@proxy-host:9999'
33 passthruurl:
34 - 'repos.influxdata.com'
35 - 'packagecloud.io'
36 - 'packagecloud-repositories.s3.dualstack.us-west-1.amazonaws.com'
37 - 'launchpad.net'
38 - 'apt.dockerproject.org'
39 passhthrupattern:
40 - '\.key$'
41 - '\.gpg$'
42 - '\.pub$'
43 - '\.jar$'
44
Pavel Cizinskye2677872017-01-31 22:09:12 +010045Read more
46=========
47
48* https://www.unix-ag.uni-kl.de/~bloch/acng/