mirrord/README.md
2024-04-16 16:26:18 +02:00

477 B

mirrord

mirrord is a local http mirror. It redirects every request it gets to mirror hosts and caches the response locally.

Using with pacman

Configure mirrord to act as a pacman mirror:

mirrors = [
    "https://mirror.leaseweb.net",
    "https://archlinux.thaller.ws",
    ...
]

cache_dir = "./data"
no_cache = '.*(?:db|db\.sig)$'
only_allow = '^\/archlinux'

Add this to your mirrorlist:

Server = http://<mirrord_host>:8080/archlinux/$repo/os/$arch