~mvo/+junk/squid-deb-proxy

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
This package provides a squid proxy config optimized for caching
deb packages on Ubuntu systems.

It should work out of the box on port 8000 for most users.

It will allow access to .archive.ubuntu.com, archive.canonical.com,
extras.ubuntu.com and changelogs.ubuntu.com by default from any
private (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) network. To
customize these settings check /etc/squid-deb-proxy/*.acl

To customize the general config, edit the file
/etc/squid-deb-proxy/squid-deb-proxy.conf

The default config will only allow fetching official Ubuntu packages
or official third party packages from archive.canonical.com and
extras.ubuntu.com. You can add more repositories either via the
whitelist file "mirror-dstdomain.acl" or by tweaking the global
configuration "squid-deb-proxy.conf" to allow fetching from any
domain (see the http_access and cache options).