From 2084863d352fd059ee0f6abfef7965beb6b9c74e Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 9 Apr 2022 00:31:36 +0200 Subject: surtr: synapse metrics --- hosts/surtr/matrix/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'hosts/surtr/matrix') diff --git a/hosts/surtr/matrix/default.nix b/hosts/surtr/matrix/default.nix index b690ec9a..9c9c3565 100644 --- a/hosts/surtr/matrix/default.nix +++ b/hosts/surtr/matrix/default.nix @@ -27,6 +27,16 @@ with lib; type = "http"; x_forwarded = true; } + { bind_addresses = ["::1" "127.0.0.1"]; + port = 9092; + resources = [ + { names = [ "metrics" ]; + compress = false; + } + ]; + tls = false; + type = "http"; + } ]; tls_certificate_path = "/run/credentials/matrix-synapse.service/synapse.li.pem"; -- cgit v1.2.3