浏览代码

chore(docs/manifest): explicitly allow blog RSS feed

Signed-off-by: Xe Iaso <me@xeiaso.net>
Xe Iaso 1 周之前
父节点
当前提交
823d1be5d1
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      docs/manifest/cfg/anubis/botPolicies.yaml

+ 7 - 0
docs/manifest/cfg/anubis/botPolicies.yaml

@@ -51,6 +51,13 @@ bots:
   #     report_as: 4    # lie to the operator
   #     algorithm: slow # intentionally waste CPU cycles and time
 
+  - name: rss-feed-blog
+    action: ALLOW
+    expression:
+      any:
+        - path.startsWith("/blog/atom.")
+        - path.startsWith("/blog/rss.)
+
   # Generic catchall rule
   - name: generic-browser
     user_agent_regex: >-