aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-01-05 10:47:30 +0100
committerLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-01-05 10:47:30 +0100
commit83ba43e583f976a99c95a67cd2f34874d9f30575 (patch)
tree9443d11294f865986d4e62276272371cd42f7a1a
parentdf88365d938dad9326767ac6de0aff9e665ae4ed (diff)
downloadcgit-oci-83ba43e583f976a99c95a67cd2f34874d9f30575.tar.gz
cgit-oci-83ba43e583f976a99c95a67cd2f34874d9f30575.tar.bz2
cgit-oci-83ba43e583f976a99c95a67cd2f34874d9f30575.tar.lz
cgit-oci-83ba43e583f976a99c95a67cd2f34874d9f30575.zip

fix: for some reason, without this, cgit kills itself for many operatoins

-rw-r--r--image/Caddyfile1
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}