From 2f1396f86b3893023ef1d0e9208f22af7f40c514 Mon Sep 17 00:00:00 2001 From: memdmp Date: Sun, 5 Jan 2025 02:57:27 +0100 Subject: fix: i think we should be using {http.request.uri.path} --- image/Caddyfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'image') diff --git a/image/Caddyfile b/image/Caddyfile index b50dccc..25d4432 100644 --- a/image/Caddyfile +++ b/image/Caddyfile @@ -16,11 +16,8 @@ http:// { reverse_proxy unix//run/fcgiwrap/fcgiwrap.sock { transport fastcgi { env SCRIPT_FILENAME /usr/share/webapps/cgit/cgit.cgi - env PATH_INFO {http.request.uri} + env PATH_INFO {http.request.uri.path} env QUERY_STRING {query} - # env GIT_HTTP_EXPORT_ALL 1 - # env GIT_PROJECT_ROOT /var/lib/git/repositories - # env HOME /var/lib/git } } } -- cgit v1.2.3