mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
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 <kevin@scrye.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user