From e5d26fea609fce8f48e4e98031754ccd2947b334 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 12 Feb 2026 16:57:26 -0800 Subject: [PATCH] proxies: allow POST for forge Some folks were getting posts failing against forge. See https://forge.fedoraproject.org/forge/forge/issues/401 So, lets just explicitly allow POSTs through anubis as this should be fine for normal people and should not be something that scrapers normally do. Signed-off-by: Kevin Fenzi --- roles/anubis/templates/policies.yaml.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/anubis/templates/policies.yaml.j2 b/roles/anubis/templates/policies.yaml.j2 index a536f596d7..5948d75372 100644 --- a/roles/anubis/templates/policies.yaml.j2 +++ b/roles/anubis/templates/policies.yaml.j2 @@ -15,6 +15,9 @@ bots: - name: bodhi and badges rss feeds path_regex: /rss/ action: ALLOW + - name: allow POSTs + expression: method == "POST" + action: ALLOW - name: allow ostree path_regex: ^/ostree action: ALLOW