changeset 98: |
39b9bcb13cad |
parent 92: |
cdffdb9777dd |
child 99: |
81e2b61094fb |
author: |
Richard Westhaver <ellis@rwest.io> |
date: |
Wed, 11 Sep 2024 20:40:42 -0400 |
files: |
Caddyfile cgitrc serve.sh |
description: |
cgit |
1.1--- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2+++ b/Caddyfile Wed Sep 11 20:40:42 2024 -0400
1.3@@ -0,0 +1,15 @@
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/cgitrc Tue Sep 03 21:52:32 2024 -0400
2.2+++ b/cgitrc Wed Sep 11 20:40:42 2024 -0400
2.3@@ -2,19 +2,11 @@
2.4 # cgit config
2.5 #
2.6
2.7-css=/cgit.css
2.8-logo=/cgit.png
2.9-
2.10-# Following lines work with the above Apache config
2.11-#css=/cgit-css/cgit.css
2.12-#logo=/cgit-css/cgit.png
2.13-
2.14-# Following lines work with the above Lighttpd config
2.15-#css=/cgit/cgit.css
2.16-#logo=/cgit/cgit.png
2.17+css=/assets/cgit.css
2.18+logo=/assets/cgit.png
2.19
2.20 # Allow http transport git clone
2.21-#enable-http-clone=0
2.22+enable-http-clone=1
2.23
2.24
2.25 # if you do not want that webcrawler (like google) index your site
3.1--- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2+++ b/serve.sh Wed Sep 11 20:40:42 2024 -0400
3.3@@ -0,0 +1,3 @@
3.4+#!/usr/bin/env bash
3.5+& hg serve --web-conf hgweb.conf
3.6+caddy run --config Caddyfile