From c76a36daa93ad5b6a72e72052d0edcb9c4a5ed6d Mon Sep 17 00:00:00 2001 From: memdmp Date: Sun, 5 Jan 2025 02:58:00 +0100 Subject: fix: template needs to be sensible --- image/Caddyfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'image/Caddyfile') 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} } } } -- cgit v1.2.3