Skip to content

Commit

Permalink
Added lags icons support to mirrobrain mirrors listing
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaudin committed Nov 7, 2024
1 parent c331fe6 commit 4bd8987
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
18 changes: 18 additions & 0 deletions zim/download-kiwix/mb-configs.cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,7 @@ data:
ServerName download.kiwix.org
ServerAdmin [email protected]
DocumentRoot /var/www/download.kiwix.org
Alias /static/ /var/www/static/
MirrorBrainMetalinkPublisher "Kiwix project" https://kiwix.org
MirrorBrainTorrentTrackerURL "http://tracker.openzim.org:6969/announce"
Expand Down Expand Up @@ -773,3 +774,20 @@ data:
IndexOrderDefault Descending Date
</Directory>
</VirtualHost>
mirrorlist_header.txt: |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<base href="http://download.kiwix.org/static/" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>%(title)s</title>
<link type="text/css" rel="stylesheet" href="mirrorbrain.css" />
<link href="/favicon.ico" rel="shortcut icon" />
<meta http-equiv="Language" content="en" />
<meta name="description" content="Download Mirrors" />
<meta name="keywords" content="download metalink redirector mirror mirrors" />
<meta name="author" content="MirrorBrain" />
<meta name="robots" content="index, nofollow" />
</head>
<body>
4 changes: 4 additions & 0 deletions zim/download-kiwix/tasks/mb-update-db.cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ spec:
subPath: mirrorbrain.conf
mountPath: "/etc/mirrorbrain.conf"
readOnly: true
- name: configs
subPath: mirrorlist_header.txt
mountPath: "/etc/mirrorlist_header.txt"
readOnly: true
resources:
requests:
memory: "128Mi"
Expand Down

0 comments on commit 4bd8987

Please sign in to comment.