blob: 175a72f9273af872a95633950021527e49b10d64 [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
Damian Szelugad4cee1a2017-03-16 13:23:22 +010026
27 aptcacher:
28 server:
29 enabled: true
30 bind:
31 address: 0.0.0.0
32 port: 3142
33 proxy: 'http://proxy-user:proxy-pass@proxy-host:9999'
34 passthruurl:
35 - 'repos.influxdata.com'
36 - 'packagecloud.io'
37 - 'packagecloud-repositories.s3.dualstack.us-west-1.amazonaws.com'
38 - 'launchpad.net'
39 - 'apt.dockerproject.org'
40 passhthrupattern:
41 - '\.key$'
42 - '\.gpg$'
43 - '\.pub$'
44 - '\.jar$'
45
Damian Szeluga775e3332017-03-16 13:19:03 +010046
Pavel Cizinskye2677872017-01-31 22:09:12 +010047Read more
48=========
49
50* https://www.unix-ag.uni-kl.de/~bloch/acng/