26 lines
632 B
Text
26 lines
632 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'
|
|
|
|
# Show an index page on root path /
|
|
# Options:
|
|
# - `no` // disable index page
|
|
# - `<path>` // custom index page html file
|
|
index = "no"
|