mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-23 08:36:41 +00:00
d5ccf9c670
* feat(config): add metrics bind config to policy file with flag hack Signed-off-by: Xe Iaso <me@xeiaso.net> * feat(internal): move SetupListener from main Signed-off-by: Xe Iaso <me@xeiaso.net> * fix(main): use internal.SetupListener Signed-off-by: Xe Iaso <me@xeiaso.net> * fix(config): add metrics socket mode Signed-off-by: Xe Iaso <me@xeiaso.net> * feat: move metrics server to a dedicated package Signed-off-by: Xe Iaso <me@xeiaso.net> * doc: add metrics server configuration docs Signed-off-by: Xe Iaso <me@xeiaso.net> * doc(default-config): add vague references to metrics server Signed-off-by: Xe Iaso <me@xeiaso.net> * chore: spelling Signed-off-by: Xe Iaso <me@xeiaso.net> --------- Signed-off-by: Xe Iaso <me@xeiaso.net>
17 lines
307 B
YAML
17 lines
307 B
YAML
bots:
|
|
- name: everything
|
|
user_agent_regex: .*
|
|
action: DENY
|
|
|
|
openGraph:
|
|
enabled: true
|
|
considerHost: false
|
|
ttl: 1h
|
|
default:
|
|
"og:title": "Xe's magic land of fun"
|
|
"og:description": "We're no strangers to love, you know the rules and so do I"
|
|
|
|
metrics:
|
|
bind: ":9090"
|
|
network: "tcp"
|