diff options
fix: for some reason, without this, cgit kills itself for many operatoins
-rw-r--r-- | image/Caddyfile | 1 |
1 files changed, 1 insertions, 0 deletions
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} |