copr: generate index for subdirs of /archive/spacewalk/

This commit is contained in:
Miroslav Suchý 2018-10-17 11:04:08 +02:00
parent 6fbaf88b34
commit 4d57437c16

View file

@ -474,11 +474,15 @@ url.redirect = ( "^/results/sgallagh/cockpit-preview/(.+)" => "/re
url.redirect += ( "^/results/(.*)/(.*)/mageia-(.*)-i386(.*)" => "/results/$1/$2/mageia-$3-i586$4" )
$HTTP["url"] =~ "^/archive/spacewalk($|/)" {
$HTTP["url"] =~ "^/archive/spacewalk($|/$)" {
dir-listing.activate = "disable"
index-file.names = ( "index.html" )
accesslog.filename = ""
}
$HTTP["url"] =~ "^/archive/spacewalk/" {
index-file.names = ( "index.html" )
accesslog.filename = ""
}
server.max-worker = 6 # this may break many things
$HTTP["url"] !~ "^/archive/spacewalk($|/)" {