pagure: add hack to 403 DDoS attack

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2022-06-15 14:18:39 -07:00
parent 9399fbb4f0
commit 45c28c27c5

View file

@ -123,6 +123,12 @@ WSGIDaemonProcess paguredocs user=git group=git maximum-requests=1000 display-na
{% endif %}
</Location>
# Drop distributed web hits
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/fedora-web/websites$
RewriteRule .* - [F]
<Location /apache-status>
SetHandler server-status
<RequireAny>