I’ve missed this, it was configured by the package manager during installation in another file /etc/apt-cacher-ng/zz_debconf.conf
:
PassThroughPattern: .*
You can reconfigure apt-cacher-ng by running dpkg-reconfigure apt-cacher-ng
in the template and PassThroughPattern
is configured at this step:
+----------------------+ Configuring apt-cacher-ng +-----------------------+
| |
| Apt-Cacher NG can be configured to allow users to create HTTP tunnels, |
| which can be used to access remote servers that might otherwise be |
| blocked by (for instance) a firewall filtering HTTPS connections. |
| |
| This feature is usually disabled for security reasons; enable it only |
| for trusted LAN environments. |
| |
| Allow HTTP tunnels through Apt-Cacher NG? |
| |
| <Yes> <No> |
| |
+--------------------------------------------------------------------------+