Skip to content

Instantly share code, notes, and snippets.

@res0nat0r
Created March 27, 2018 17:48
Show Gist options
  • Select an option

  • Save res0nat0r/d8545f5c020328d03d4ad660fd9481ca to your computer and use it in GitHub Desktop.

Select an option

Save res0nat0r/d8545f5c020328d03d4ad660fd9481ca to your computer and use it in GitHub Desktop.
Allow apt-cacher-ng to work with https repos
  • In order for SSL/TLS to work, apt-cacher-ng has to be told beforehand which domains it can CONNECT to via the PassThroughPattern: option in /etc/apt-cacher-ng/acng.conf. For instance, to allow apt-cacher-ng to proxy anything, you can do:

PassThroughPattern: .*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment