From 11ab78ec33a358126c826c45e1538de45f526889 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Wed, 22 Apr 2026 19:41:01 -0400 Subject: [PATCH] doc(default-config): document how to set up TLS and mTLS Signed-off-by: Xe Iaso --- data/botPolicies.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/data/botPolicies.yaml b/data/botPolicies.yaml index fdb8539b..fd1d1a34 100644 --- a/data/botPolicies.yaml +++ b/data/botPolicies.yaml @@ -174,6 +174,20 @@ status_codes: # metrics: # bind: ":9090" # network: "tcp" +# +# # To serve metrics over TLS, set the path to the right TLS certificate and key +# # here. When the files change on disk, they will automatically be reloaded. +# # +# # https://anubis.techaro.lol/docs/admin/policies#tls +# tls: +# certificate: /path/to/tls.crt +# key: /path/to/tls.key +# +# # If you want to secure your metrics endpoint using mutual TLS (mTLS), set +# # the path to a certificate authority public certificate here. +# # +# # https://anubis.techaro.lol/docs/admin/policies#mtls +# ca: /path/to/ca.crt # Anubis can store temporary data in one of a few backends. See the storage # backends section of the docs for more information: