diff options
fix: template needs to be sensible
-rw-r--r-- | image/Caddyfile | 3 |
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} } } } |