pagure: block some old mirror copies of big projects

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2025-04-16 10:22:35 -07:00
parent 5ed8c1671c
commit 4bba87381d

View file

@ -136,11 +136,22 @@ MaxConnectionsPerChild 1000
</Location>
# Drop distributed web hits
# RewriteEngine On
# RewriteCond %{REQUEST_URI} ^/fedora-web/websites$
# RewriteRule .* - [F]
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/linux-forgeperf.*$
RewriteRule .* - [F]
RewriteCond %{REQUEST_URI} ^/git/.*$
RewriteRule .* - [F]
RewriteCond %{REQUEST_URI} ^/virt-ark/.*$
RewriteRule .* - [F]
RewriteCond %{REQUEST_URI} ^/lersek/edk2/.*$
RewriteRule .* - [F]
RewriteCond %{REQUEST_URI} ^/binutils-gdb/.*$
RewriteRule .* - [F]
# Spiders-gone-wild
# These spiders may not follow robots.txt and will
# hit admin sections which consume large amounts of CPU