diff options
author | hitlerrip <git@hitler.rip> | 2025-08-05 19:58:23 +0200 |
---|---|---|
committer | hitlerrip <git@hitler.rip> | 2025-08-05 19:58:23 +0200 |
commit | 76c2cea73b96cc12e60ec63bfdc69cc56363725a (patch) | |
tree | 900aadbe0202d499b55eece4ab155b6d63829d22 /run.sh | |
parent | 124725db8888fbee74aa9fd2eccd2ecefd81ec5f (diff) | |
download | website-76c2cea73b96cc12e60ec63bfdc69cc56363725a.tar.gz website-76c2cea73b96cc12e60ec63bfdc69cc56363725a.tar.bz2 website-76c2cea73b96cc12e60ec63bfdc69cc56363725a.zip |
cgit fixes
attempt 2 at fixing cgit configuration
Diffstat (limited to 'run.sh')
-rwxr-xr-x | run.sh | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 { |