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
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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