proxy01/10 / koji: block some kojiweb queries that bots are hitting
Bots are htiting these at a massive level. Since these cause koji to do db queries it basically swamps it and it stops processing at all. Hopefully with enough of these 403's the bots will go away. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
8c17500541
commit
002afafc5f
1 changed files with 10 additions and 0 deletions
|
@ -4,4 +4,14 @@ ProxyPreserveHost On
|
|||
ProxyTimeout 10800
|
||||
TimeOut 10800
|
||||
|
||||
# temp block access to heavy query kojiweb endpoints to keep crawlers at bay
|
||||
|
||||
RewriteEngine On
|
||||
|
||||
RewriteCond %{REQUEST_URI} ^/koji/fileinfo$
|
||||
RewriteRule .* - [F]
|
||||
|
||||
RewriteCond %{REQUEST_URI} ^/koji/buildrootinfo$
|
||||
RewriteRule .* - [F]
|
||||
|
||||
{% include "reversepassproxy.conf-nonopenshift-iad2" %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue