aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrun.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/run.sh b/run.sh
index d508b8d..61e8506 100755
--- a/run.sh
+++ b/run.sh
@@ -214,8 +214,6 @@ sudo apt install -y cgit fcgiwrap
sudo systemctl enable fcgiwrap
sudo systemctl start fcgiwrap
sudo tee /etc/cgitrc << EOF
-scan-path=/srv/git
-
css=/cgit.css
logo=/cgit.png
favicon=/cgit.png
@@ -233,7 +231,7 @@ source-filter=/usr/lib/cgit/filters/syntax-highlighting.py
about-filter=/usr/lib/cgit/filters/about-formatting.sh
root-title=git.hitler.rip
-root-desc=web frontend for public git repos
+root-desc=web frontend for public git repos | all emails regarding repos to <git@hitler.rip>
snapshots=tar.gz tar.bz2 zip
@@ -243,6 +241,8 @@ enable-log-filecount=1
enable-log-linecount=1
branch-sort=age
enable-git-config=1
+enable-http-clone=1
+clone-prefix=https://git.hitler.rip/
mimetype.gif=image/gif
mimetype.html=text/html
@@ -251,6 +251,8 @@ mimetype.jpeg=image/jpeg
mimetype.pdf=application/pdf
mimetype.png=image/png
mimetype.svg=image/svg+xml
+
+scan-path=/srv/git
EOF
sudo tee -a /usr/share/cgit/cgit.css << EOF
.logo > a > img {