mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-05 16:28:17 +00:00
* chore: add prettier configuration Signed-off-by: Xe Iaso <me@xeiaso.net> * format: run prettier tree-wide Signed-off-by: Xe Iaso <me@xeiaso.net> * chore(prettier): ignore intentionally ungrammatical files Signed-off-by: Xe Iaso <me@xeiaso.net> * ci: add PR title lint rule Signed-off-by: Xe Iaso <me@xeiaso.net> * ci: add DCO check Signed-off-by: Xe Iaso <me@xeiaso.net> * chore: add commitlint and husky Signed-off-by: Xe Iaso <me@xeiaso.net> * chore: add CONTRIBUTING guidelines Signed-off-by: Xe Iaso <me@xeiaso.net> * chore: set SKIP_INTEGRATION in precommit tests Signed-off-by: Xe Iaso <me@xeiaso.net> * chore: update spelling Signed-off-by: Xe Iaso <me@xeiaso.net> * ci(dco): remove reopened trigger Signed-off-by: Xe Iaso <me@xeiaso.net> * chore: remove dead file Signed-off-by: Xe Iaso <me@xeiaso.net> * chore(prettier): don't format nginx includes Signed-off-by: Xe Iaso <me@xeiaso.net> --------- Signed-off-by: Xe Iaso <me@xeiaso.net>
31 lines
796 B
YAML
31 lines
796 B
YAML
- action: WEIGH
|
|
expression: "true"
|
|
name: robots-txt-policy-crawl-delay-1
|
|
weight:
|
|
adjust: 3
|
|
- action: CHALLENGE
|
|
expression: path.startsWith("/admin")
|
|
name: robots-txt-policy-disallow-2
|
|
- action: DENY
|
|
expression: userAgent.contains("BadBot")
|
|
name: robots-txt-policy-blacklist-3
|
|
- action: WEIGH
|
|
expression: userAgent.contains("SpamBot")
|
|
name: robots-txt-policy-crawl-delay-4
|
|
weight:
|
|
adjust: 3
|
|
- action: DENY
|
|
expression: userAgent.contains("SpamBot")
|
|
name: robots-txt-policy-blacklist-5
|
|
- action: WEIGH
|
|
expression: userAgent.contains("Googlebot")
|
|
name: robots-txt-policy-crawl-delay-6
|
|
weight:
|
|
adjust: 3
|
|
- action: CHALLENGE
|
|
expression:
|
|
all:
|
|
- userAgent.contains("Googlebot")
|
|
- path.startsWith("/search")
|
|
name: robots-txt-policy-disallow-7
|