add custom index

This commit is contained in:
JMARyA 2024-09-17 15:34:15 +02:00
parent e4005b38ce
commit 0f35d34bcb
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
7 changed files with 291 additions and 268 deletions

View file

@ -17,4 +17,10 @@ ttl = "180"
no_cache = '.*(?:db|db\.sig)$'
# Redirect only paths matching this regex to the mirrors, return 404 otherwise
only_allow = '^\/archlinux'
only_allow = '^\/archlinux'
# Show an index page on root path /
# Options:
# - `no` // disable index page
# - `<path>` // custom index page html file
index = "no"