copr: backend: log files should be served as charset=utf-8
Fixes: https://pagure.io/copr/copr/issue/762
This commit is contained in:
parent
2c0a52ba43
commit
c9c718f8c3
2 changed files with 10 additions and 0 deletions
|
@ -492,3 +492,8 @@ $HTTP["url"] !~ "^/archive/spacewalk($|/)" {
|
|||
mimetype.assign = ("" => "text/plain" )
|
||||
}
|
||||
}
|
||||
|
||||
# https://pagure.io/copr/copr/issue/762
|
||||
$HTTP["url"] =~ "\.log$" {
|
||||
mimetype.assign = ("" => "text/plain; charset=utf-8" )
|
||||
}
|
||||
|
|
|
@ -505,6 +505,11 @@ $HTTP["url"] =~ "\.log\.gz$" {
|
|||
mimetype.assign = ("" => "text/plain" )
|
||||
}
|
||||
|
||||
# https://pagure.io/copr/copr/issue/762
|
||||
$HTTP["url"] =~ "\.log$" {
|
||||
mimetype.assign = ("" => "text/plain; charset=utf-8" )
|
||||
}
|
||||
|
||||
url.redirect = ( "^/results/(.*)/(.*)/mageia-(.*)-i386(.*)" => "/results/$1/$2/mageia-$3-i586$4" )
|
||||
|
||||
accesslog.filename = "|/usr/sbin/cronolog /var/log/lighttpd/access.log"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue