aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-01-05 02:58:00 +0100
committerLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-01-05 02:58:00 +0100
commitc76a36daa93ad5b6a72e72052d0edcb9c4a5ed6d (patch)
tree76dd87a6e76a8da3e1d299ad0af19e621a2f6334
parent2f1396f86b3893023ef1d0e9208f22af7f40c514 (diff)
downloadcgit-oci-c76a36daa93ad5b6a72e72052d0edcb9c4a5ed6d.tar.gz
cgit-oci-c76a36daa93ad5b6a72e72052d0edcb9c4a5ed6d.tar.bz2
cgit-oci-c76a36daa93ad5b6a72e72052d0edcb9c4a5ed6d.tar.lz
cgit-oci-c76a36daa93ad5b6a72e72052d0edcb9c4a5ed6d.zip

fix: template needs to be sensible

-rw-r--r--image/Caddyfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/image/Caddyfile b/image/Caddyfile
index 25d4432..d604860 100644
--- a/image/Caddyfile
+++ b/image/Caddyfile
@@ -16,8 +16,9 @@ http:// {
reverse_proxy unix//run/fcgiwrap/fcgiwrap.sock {
transport fastcgi {
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}
- env QUERY_STRING {query}
+ env QUERY_STRING {http.request.uri.query}
}
}
}