summaryrefslogtreecommitdiff
path: root/hosts/surtr/matrix/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/surtr/matrix/default.nix')
-rw-r--r--hosts/surtr/matrix/default.nix10
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";