mirrord/README.md

20 lines
449 B
Markdown
Raw Normal View History

2024-04-09 14:30:10 +02:00
# mirrord
2024-04-10 11:41:36 +02:00
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:
```toml
mirrors = [
"https://mirror.leaseweb.net",
"https://archlinux.thaller.ws",
...
]
cache_dir = "./data"
no_cache = '.*(?:db|db\.sig)$'
```
Add this to your mirrorlist:
```
Server = http://<mirrord_host>:8080/archlinux/$repo/os/$arch
```