From fc667669efbffdaa93e10a4ccef9142f1aff96ab Mon Sep 17 00:00:00 2001 From: "Henry J. Webster" Date: Sat, 31 Oct 2026 13:33:43 -0500 Subject: re-organize directories --- site/cgit/Caddyfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 site/cgit/Caddyfile (limited to 'site/cgit/Caddyfile') diff --git a/site/cgit/Caddyfile b/site/cgit/Caddyfile new file mode 100644 index 0000000..679610a --- /dev/null +++ b/site/cgit/Caddyfile @@ -0,0 +1,15 @@ +git.hwebs.info { + @static path /cgit.css /cgit.png /cgit.js /favicon.ico /robots.txt /profile.png + handle @static { + root * /usr/local/www/cgit + file_server + } + + handle { + reverse_proxy unix//var/run/fcgiwrap/fcgiwrap.sock { + transport fastcgi { + env SCRIPT_FILENAME /usr/local/www/cgit/cgit.cgi + } + } + } +} -- cgit v1.3