Hello Simon. Simon Streit <[email protected]> writes: > After > modifying > > (string-append "~ /" (string-trim-both uri-path #\/) "(/.*)") > > to > > (string-append "~ " (string-trim-both uri-path #\/) "(/.*)") > > serving and cloning from https://git.example.com/repo(.git) works now. > But it doesn't when cgit is enabled and serving repositories in the same > path at the same time.
Glad you have a working setup. Though this sounds like even cgit cannot be served from / even if the Guix service definition were fixed. But <https://wiki.archlinux.org/title/Cgit#Nginx> looks like a configuration that seems to use /, though instead of "~ /" they special-case the paths under /. Regards, Florian
