Apt-Cacher NG¶
Apt-Cacher NG is used as a cache system for the debian based apt management system.
Installation¶
Default Interface: 3142/acng-report.html
Configuration path: /etc/apt-cacher-ng
Config¶
Warning
For some reason, apt-cacher-ng doesn't work when the acng.conf
file is symlinked to the repo directly and so the config file needs to be manually synced.
/mnt/storage/aptcache
Client¶
/etc/apt/apt.conf.d/00aptproxy
Traefik¶
homelab/pve/traefik/conf.d/aptcache.yaml
---
http:
#region routers
routers:
aptcache:
entryPoints:
- "websecure"
rule: "Host(`aptcache.l.nicholaswilde.io`)"
middlewares:
- default-headers@file
- https-redirectscheme@file
tls: {}
service: aptcache
#endregion
#region services
services:
aptcache:
loadBalancer:
servers:
- url: "http://192.168.2.40:3142"
passHostHeader: true
#endregion