apt-cacher-ng tunnels a source fetched over https and stores nothing of it. It
fetches http://HTTPS///<host>/<path> over https itself, with the certificate
verified, and stores it, where port 443 is allowed (AllowUserPorts=80 443).
- apt_sources: cacheable_https_hosts(report), and the root commands that rewrite
the https sources of .list and deb822 .sources files to that form and back.
A host apt has credentials for in auth.conf stays on https; the rewrite names
it in the proxy file as Package-Proxy::Not-Cached, which the report reads.
- configure_package_proxy(url): a step "cache" before "https". It rewrites the
sources, fetches one of them through url, and turns them all back to https
where url cannot. The "fetch" step proves the proxy with a plain http source.
- configure_package_proxy(""): the sources go back to https before the proxy
file goes; without the cache apt would look for a host called HTTPS.