readme
This commit is contained in:
parent
dfabf7bf8f
commit
43452c7c14
1 changed files with 19 additions and 1 deletions
20
README.md
20
README.md
|
@ -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
|
||||||
|
```
|
Loading…
Add table
Reference in a new issue