I can not find, in the apt-cacher-ng documentation, how to configure the proxy settings.

Is it possible to run apt-cacher-ng behind a proxy? How?

You can add the following to /etc/apt-cacher-ng/acng.conf:

Proxy: http://myproxy.net:1234

As described in this sample config file:

# The specification of another HTTP proxy which shall be used for downloads.
# It can include user name and password but see the manual for limitations.
#
# Default: uses direct connection
#
# Proxy: http://www-proxy.example.net:3128
# Proxy: https://username:proxypassword@proxy.example.net:3129

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.