diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-04-09 00:31:36 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-04-09 00:31:36 +0200 |
commit | 2084863d352fd059ee0f6abfef7965beb6b9c74e (patch) | |
tree | 039e389436cdf10dbd84b4b1c7b1376b7491b73e /hosts/surtr/matrix | |
parent | 14e731f40b91976976cc8b72f267bc90b0f07521 (diff) | |
download | nixos-2084863d352fd059ee0f6abfef7965beb6b9c74e.tar nixos-2084863d352fd059ee0f6abfef7965beb6b9c74e.tar.gz nixos-2084863d352fd059ee0f6abfef7965beb6b9c74e.tar.bz2 nixos-2084863d352fd059ee0f6abfef7965beb6b9c74e.tar.xz nixos-2084863d352fd059ee0f6abfef7965beb6b9c74e.zip |
surtr: synapse metrics
Diffstat (limited to 'hosts/surtr/matrix')
-rw-r--r-- | hosts/surtr/matrix/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
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; | |||
27 | type = "http"; | 27 | type = "http"; |
28 | x_forwarded = true; | 28 | x_forwarded = true; |
29 | } | 29 | } |
30 | { bind_addresses = ["::1" "127.0.0.1"]; | ||
31 | port = 9092; | ||
32 | resources = [ | ||
33 | { names = [ "metrics" ]; | ||
34 | compress = false; | ||
35 | } | ||
36 | ]; | ||
37 | tls = false; | ||
38 | type = "http"; | ||
39 | } | ||
30 | ]; | 40 | ]; |
31 | 41 | ||
32 | tls_certificate_path = "/run/credentials/matrix-synapse.service/synapse.li.pem"; | 42 | tls_certificate_path = "/run/credentials/matrix-synapse.service/synapse.li.pem"; |