@wiredfool, this is the expected behavior and I ran into it as well.
Since apt-cacher-ng cannot cache the HTTPS connection so it's refusing
to proxy it. A possible workaround is to let it pass through apt-cacher-
ng using a regex like that in the config file:

# Required for HTTPS outbound
PassThroughPattern: ^apt\.dockerproject\.org:443$

FYI. if you need to pass through more than one HTTPS destination, use
that syntax as there can only be one  PassThroughPattern directive:

PassThroughPattern:
^(apt\.dockerproject\.org|registry\.npmjs\.org|packages\.graylog2\.org|graylog2
-package-repository\.s3\.amazonaws\.com|artifacts\.elastic\.co):443$

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1661199

Title:
  Apt-cacher-ng fails on https repo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-cacher-ng/+bug/1661199/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to