pagure: block some more forks and blame/history from ai scrapers

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2025-05-25 21:47:39 -07:00
parent f67d942dbb
commit 1c7ecb6bcf

View file

@ -176,6 +176,33 @@ MaxConnectionsPerChild 1000
RewriteCond %{REQUEST_URI} ^/fork/mohanboddu/fedora-infra/ansible.*$
RewriteRule .* - [F]
RewriteCond %{REQUEST_URI} ^/fork/.*/abslibre.*$
RewriteRule .* - [F]
RewriteCond %{REQUEST_URI} ^/fork/.*/fedora-infra.*$
RewriteRule .* - [F]
RewriteCond %{REQUEST_URI} ^/fork/.*/fedora-comps.*$
RewriteRule .* - [F]
RewriteCond %{REQUEST_URI} ^/fork/.*/pungi.*$
RewriteRule .* - [F]
RewriteCond %{REQUEST_URI} ^/fork/.*/389-ds-base.*$
RewriteRule .* - [F]
RewriteCond %{REQUEST_URI} ^/fork/.*/fedora-kickstarts.*$
RewriteRule .* - [F]
RewriteCond %{REQUEST_URI} ^/go/.*/fedora-kickstarts.*$
RewriteRule .* - [F]
RewriteCond %{REQUEST_URI} ^/freeipa/blame.*$
RewriteRule .* - [F]
RewriteCond %{REQUEST_URI} ^/freeipa/history.*$
RewriteRule .* - [F]
# Spiders-gone-wild
# These spiders may not follow robots.txt and will
# hit admin sections which consume large amounts of CPU