Replace the tree with upstream TecharoHQ/anubis v1.28.2 (a1384fbf42e3). Masyunis customizations are re-applied in the following commits.
17 lines
294 B
YAML
17 lines
294 B
YAML
bots:
|
|
- name: block-admin-via-regex
|
|
path_regex: ^/admin(/.*)?$
|
|
action: DENY
|
|
|
|
- name: block-secret-via-cel
|
|
expression:
|
|
all:
|
|
- 'path.startsWith("/api/secret")'
|
|
action: DENY
|
|
|
|
- import: (data)/meta/default-config.yaml
|
|
|
|
status_codes:
|
|
CHALLENGE: 200
|
|
DENY: 403
|