mirrord is a local http mirror
Find a file
JMARyA 0f35d34bcb
All checks were successful
deploy / deploy (push) Successful in 14m22s
add custom index
2024-09-17 15:35:36 +02:00
.forgejo/workflows update action 2024-07-25 23:55:13 +02:00
src add custom index 2024-09-17 15:35:36 +02:00
.gitignore no cache option 2024-04-10 10:24:56 +02:00
Cargo.lock add custom index 2024-09-17 15:35:36 +02:00
Cargo.toml add custom index 2024-09-17 15:35:36 +02:00
docker-compose.yml add custom index 2024-09-17 15:35:36 +02:00
Dockerfile fix 2024-04-13 20:56:09 +02:00
README.md limit path scope 2024-04-16 16:26:18 +02:00
sample.conf add custom index 2024-09-17 15:35:36 +02:00

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