pagure: block some old mirror copies of big projects
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
5ed8c1671c
commit
4bba87381d
1 changed files with 15 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue