diff --git a/hosts/chunk/Caddyfile b/hosts/chunk/Caddyfile index 2d6dde0..6d2916d 100644 --- a/hosts/chunk/Caddyfile +++ b/hosts/chunk/Caddyfile @@ -17,7 +17,8 @@ git.cything.io { # wrap in route so things are evaluated in the order written route { # rewrite gitlab URIs to make it work with forgejo - uri path_regexp \/-\/ / + uri path_regexp /-/ / + uri replace /blob/ /src/ redir https://git.cy7.sh{uri} permanent } }