mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-02-02 12:49:00 +08:00
koji: re-block some koji endpoints due to scrapers
They are hitting these endpoints really hard. Might be able to lift it later... Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
@@ -8,17 +8,17 @@ TimeOut 10800
|
||||
|
||||
RewriteEngine On
|
||||
|
||||
#RewriteCond %{REQUEST_URI} ^/koji/fileinfo$
|
||||
#RewriteRule .* - [F]
|
||||
RewriteCond %{REQUEST_URI} ^/koji/fileinfo$
|
||||
RewriteRule .* - [F]
|
||||
|
||||
#RewriteCond %{REQUEST_URI} ^/koji/buildrootinfo$
|
||||
#RewriteRule .* - [F]
|
||||
RewriteCond %{REQUEST_URI} ^/koji/buildrootinfo$
|
||||
RewriteRule .* - [F]
|
||||
|
||||
#RewriteCond %{REQUEST_URI} ^/koji/buildroots.*$
|
||||
#RewriteRule .* - [F]
|
||||
RewriteCond %{REQUEST_URI} ^/koji/buildroots.*$
|
||||
RewriteRule .* - [F]
|
||||
|
||||
#RewriteCond %{REQUEST_URI} ^/koji/rpminfo.*$
|
||||
#RewriteRule .* - [F]
|
||||
RewriteCond %{REQUEST_URI} ^/koji/rpminfo.*$
|
||||
RewriteRule .* - [F]
|
||||
|
||||
{% if datacenter == 'rdu3' %}
|
||||
{% include "reversepassproxy.conf-nonopenshift-rdu3" %}
|
||||
|
||||
Reference in New Issue
Block a user