mirrord/sample.conf
2024-04-16 16:26:18 +02:00

20 lines
No EOL
495 B
Text

# Mirrors to fetch from
mirrors = [
"https://mirror.leaseweb.net",
"https://geo.mirror.pkgbuild.com",
"https://mirror.leaseweb.net",
"https://archlinux.thaller.ws"
]
# Local cache directory
cache_dir = "./data"
# Time in minutes before a file is counted as out of date
ttl = "180"
# Regex for paths which will never be served from cache
no_cache = '.*(?:db|db\.sig)$'
# Redirect only paths matching this regex to the mirrors, return 404 otherwise
only_allow = '^\/archlinux'