changeset 102: |
59fd93e4d36f |
parent 101: |
0b41bf922ca8 |
tag: | tip |
author: |
Richard Westhaver <ellis@rwest.io> |
date: |
Fri, 13 Sep 2024 20:16:24 -0400 |
files: |
Caddyfile cgit.ini cgitrc override.conf |
description: |
cleanup |
1.1--- a/Caddyfile Fri Sep 13 18:09:48 2024 -0400
1.2+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3@@ -1,15 +0,0 @@
1.4-{
1.5-admin off
1.6-}
1.7-http://rurik/packy/* {
1.8-reverse_proxy unix//run/fcgiwrap.sock {
1.9- transport fastcgi {
1.10- env SCRIPT_FILENAME /usr/lib/cgit/cgit.cgi
1.11- }
1.12-}
1.13-
1.14-handle_path /assets/* {
1.15- root * /usr/share/webapps/cgit
1.16- file_server
1.17-}
1.18-}
1.19\ No newline at end of file
2.1--- a/cgit.ini Fri Sep 13 18:09:48 2024 -0400
2.2+++ b/cgit.ini Fri Sep 13 20:16:24 2024 -0400
2.3@@ -6,5 +6,5 @@
2.4 gid = vc
2.5 procname-master = uwsgi cgit
2.6 processes = 1
2.7-threads = 2
2.8+threads = 8
2.9 cgi = /usr/lib/cgit/cgit.cgi
2.10\ No newline at end of file
3.1--- a/cgitrc Fri Sep 13 18:09:48 2024 -0400
3.2+++ b/cgitrc Fri Sep 13 20:16:24 2024 -0400
3.3@@ -15,6 +15,6 @@
3.4 # if cgit messes up links, use a virtual-root. For example, cgit.example.org/ has this value:
3.5 virtual-root=/
3.6
3.7-scan-path=/home/vc/packy
3.8+scan-path=/home/vc/src/
3.9
3.10 source-filter=/usr/lib/cgit/filters/syntax-highlighting.py
3.11\ No newline at end of file
4.1--- a/override.conf Fri Sep 13 18:09:48 2024 -0400
4.2+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
4.3@@ -1,3 +0,0 @@
4.4-[Service]
4.5-ExecStart=
4.6-ExecStart=-/sbin/agetty --noclear --autologin vc --keep-baud console 115200,38400,9600 $TERM
4.7\ No newline at end of file