blacklist.yaml 796 B

123456789101112131415161718192021222324252627282930
  1. - action: WEIGH
  2. expression: "true"
  3. name: robots-txt-policy-crawl-delay-1
  4. weight:
  5. adjust: 3
  6. - action: CHALLENGE
  7. expression: path.startsWith("/admin")
  8. name: robots-txt-policy-disallow-2
  9. - action: DENY
  10. expression: userAgent.contains("BadBot")
  11. name: robots-txt-policy-blacklist-3
  12. - action: WEIGH
  13. expression: userAgent.contains("SpamBot")
  14. name: robots-txt-policy-crawl-delay-4
  15. weight:
  16. adjust: 3
  17. - action: DENY
  18. expression: userAgent.contains("SpamBot")
  19. name: robots-txt-policy-blacklist-5
  20. - action: WEIGH
  21. expression: userAgent.contains("Googlebot")
  22. name: robots-txt-policy-crawl-delay-6
  23. weight:
  24. adjust: 3
  25. - action: CHALLENGE
  26. expression:
  27. all:
  28. - userAgent.contains("Googlebot")
  29. - path.startsWith("/search")
  30. name: robots-txt-policy-disallow-7