limit path scope
This commit is contained in:
parent
2cc0bfbb09
commit
ef14646507
4 changed files with 30 additions and 15 deletions
|
@ -14,4 +14,7 @@ cache_dir = "./data"
|
|||
ttl = "180"
|
||||
|
||||
# Regex for paths which will never be served from cache
|
||||
no_cache = '.*(?:db|db\.sig)$'
|
||||
no_cache = '.*(?:db|db\.sig)$'
|
||||
|
||||
# Redirect only paths matching this regex to the mirrors, return 404 otherwise
|
||||
only_allow = '^\/archlinux'
|
Loading…
Add table
Add a link
Reference in a new issue