From 83ba43e583f976a99c95a67cd2f34874d9f30575 Mon Sep 17 00:00:00 2001 From: memdmp Date: Sun, 5 Jan 2025 10:47:30 +0100 Subject: fix: for some reason, without this, cgit kills itself for many operatoins --- image/Caddyfile | 1 + 1 file changed, 1 insertion(+) (limited to 'image/Caddyfile') diff --git a/image/Caddyfile b/image/Caddyfile index 75fa7b1..ab89e8e 100644 --- a/image/Caddyfile +++ b/image/Caddyfile @@ -15,6 +15,7 @@ http:// { reverse_proxy unix//run/fcgiwrap/fcgiwrap.sock { transport fastcgi { + env DOCUMENT_ROOT /usr/share/webapps/cgit env SCRIPT_FILENAME /usr/share/webapps/cgit/cgit.cgi # see https://caddyserver.com/docs/json/apps/http/#docs # env PATH_INFO {http.request.uri.path} -- cgit v1.2.3