From 12b64f53704a8cdc4e5f875f32ff3575674c5066 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 18 Aug 2022 08:53:45 -0700 Subject: [PATCH] Revert "pagure: drop websites rule for old DDoS" This reverts commit 415f621bdfcca0ff700975d9ca756414d2d133c5. Seems the DDoS is back --- roles/pagure/templates/0_pagure.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/pagure/templates/0_pagure.conf b/roles/pagure/templates/0_pagure.conf index 90baa0a32f..433a4c0967 100644 --- a/roles/pagure/templates/0_pagure.conf +++ b/roles/pagure/templates/0_pagure.conf @@ -129,6 +129,11 @@ MaxConnectionsPerChild 1000 {% endif %} + # Drop distributed web hits + RewriteEngine On + RewriteCond %{REQUEST_URI} ^/fedora-web/websites$ + RewriteRule .* - [F] + SetHandler server-status