summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Ilvokhin <d@ilvokhin.com>2026-08-02 22:13:27 +0100
committerDmitry Ilvokhin <d@ilvokhin.com>2026-08-02 22:13:27 +0100
commit1fff990586c79f2c531d3e8d09555edce3e3354f (patch)
tree9843f9df618813bce560edffa6388f60ee820fe6
parentfceffe08857def7977042d80e424b7b5b7a6a7a8 (diff)
downloadinfra-1fff990586c79f2c531d3e8d09555edce3e3354f.tar.gz
infra-1fff990586c79f2c531d3e8d09555edce3e3354f.tar.bz2
infra-1fff990586c79f2c531d3e8d09555edce3e3354f.zip
Do not serve linux repo by cgitHEADmaster
AI crawlers are killing SSD on the git box. Serve them with 404 instead to keep the box alive.
-rw-r--r--roles/cgit/files/cgitrc7
1 files changed, 0 insertions, 7 deletions
diff --git a/roles/cgit/files/cgitrc b/roles/cgit/files/cgitrc
index 43415c2..9a9030c 100644
--- a/roles/cgit/files/cgitrc
+++ b/roles/cgit/files/cgitrc
@@ -74,10 +74,3 @@ repo.desc=Miscellaneous code that is useful to have around.
repo.url=packages.git
repo.path=/srv/git/packages.git
repo.desc=Configuration files for Arch Linux packages.
-
-# Linux.
-repo.url=linux.git
-repo.path=/srv/git/linux.git
-repo.desc=Linux kernel source tree.
-repo.hide=1
-repo.section=Mirrors