From c12a1cb27d995c7185eb708e30c419892521e1ab Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 2 Jun 2025 07:43:30 -0700 Subject: [PATCH] pagure: drop fedora-infra forks for now as crawlers are hammering the crap out of pagure over them Signed-off-by: Kevin Fenzi --- roles/pagure/templates/0_pagure.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/pagure/templates/0_pagure.conf b/roles/pagure/templates/0_pagure.conf index 8141188803..1abbac28bf 100644 --- a/roles/pagure/templates/0_pagure.conf +++ b/roles/pagure/templates/0_pagure.conf @@ -191,6 +191,10 @@ MaxConnectionsPerChild 1000 RewriteCond %{REQUEST_URI} ^/fork/.*/koji/.*$ RewriteRule .* - [F] + RewriteCond %{REQUEST_URI} ^/fork/.*/fedora-infra/.*$ + RewriteRule .* - [F] + + # Spiders-gone-wild # These spiders may not follow robots.txt and will # hit admin sections which consume large amounts of CPU