diff options
| author | haturatu <taro@eyes4you.org> | 2026-04-21 05:21:33 +0900 |
|---|---|---|
| committer | haturatu <taro@eyes4you.org> | 2026-04-21 05:21:33 +0900 |
| commit | 836cdbbcb566a36c16b28305b50a502fa09f2c97 (patch) | |
| tree | 796904fec1e2536e83630be181d9f3777bd2de3e /docker/cgitrc | |
Diffstat (limited to 'docker/cgitrc')
| -rw-r--r-- | docker/cgitrc | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/docker/cgitrc b/docker/cgitrc new file mode 100644 index 0000000..25c5f1e --- /dev/null +++ b/docker/cgitrc @@ -0,0 +1,25 @@ +css=/cgit.css +logo=/cgit.png +favicon=/cgit.png + +root-title=Git Repositories +root-desc=public repositories +root-readme= + +virtual-root=/ +scan-path=/var/lib/git/repos + +remove-suffix=1 +enable-http-clone=1 +enable-index-owner=0 +enable-commit-graph=1 +snapshots=tar.gz zip + +clone-url=https://git.example.com/$CGIT_REPO_URL + +cache-root=/var/cache/cgit +cache-size=5000 +cache-static-ttl=60 +cache-dynamic-ttl=30 +cache-repo-ttl=30 +cache-root-ttl=30 |
