This commit is contained in:
JMARyA 2024-04-10 11:41:36 +02:00
parent dfabf7bf8f
commit 43452c7c14
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -1,2 +1,20 @@
# mirrord # mirrord
mirror 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
```