🪞 HTTP Mirror
Find a file
JMARyA 49103085f7
All checks were successful
ci/woodpecker/push/build Pipeline was successful
CI
2024-12-06 00:16:48 +01:00
.woodpecker CI 2024-12-06 00:16:48 +01:00
src CI 2024-12-06 00:16:48 +01: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