Skip to content

Instantly share code, notes, and snippets.

@lmlsna
lmlsna / 02proxy
Last active July 10, 2024 12:44
Using apt-cacher proxies with fallback to direct
## /etc/apt/apt.conf.d/02proxy
# You can add this line for faster failover
Acquire::Retries 0;
# Make sure you use the full path
Acquire::http::Proxy-Auto-Detect "/usr/bin/apt-proxy-detect.sh";