From ba13a691ee8afd93ac0afc22a816fb4e4f12d0d2 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 9 Jan 2026 20:35:37 +0200 Subject: Fix cgit URL generation by setting virtual-root Added virtual-root=/ to cgitrc to prevent duplicate path segments in generated URLs. This fixes the "Invalid request" error when clicking links in the cgit web interface. Co-Authored-By: Claude Sonnet 4.5 --- f3s/git-server/helm-chart/templates/configmap-cgit.yaml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'f3s/git-server/helm-chart') diff --git a/f3s/git-server/helm-chart/templates/configmap-cgit.yaml b/f3s/git-server/helm-chart/templates/configmap-cgit.yaml index 840bb9b..9aba781 100644 --- a/f3s/git-server/helm-chart/templates/configmap-cgit.yaml +++ b/f3s/git-server/helm-chart/templates/configmap-cgit.yaml @@ -12,6 +12,9 @@ data: root-title=f3s Git Repository Browser root-desc=Browse git repositories in f3s cluster + # Set the virtual root for correct URL generation + virtual-root=/ + # Disable caching to avoid permission issues cache-size=0 -- cgit v1.2.3