diff options
fix: i think we should be using {http.request.uri.path}
-rw-r--r-- | image/Caddyfile | 5 |
1 files changed, 1 insertions, 4 deletions
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 } } } |