From 23347f6952f2dba92b47d1151ebfe27c0aaf2a61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Fri, 25 Aug 2023 17:00:30 +0300 Subject: [PATCH] matrix-synapse: listen on 127.0.0.1 reverse proxying is over --- hosts/vno1-oh2/configuration.nix | 1 - modules/services/matrix-synapse/default.nix | 19 ------------------- 2 files changed, 20 deletions(-) diff --git a/hosts/vno1-oh2/configuration.nix b/hosts/vno1-oh2/configuration.nix index 424af92..de6e7c8 100644 --- a/hosts/vno1-oh2/configuration.nix +++ b/hosts/vno1-oh2/configuration.nix @@ -84,7 +84,6 @@ myData.ports.grafana myData.ports.prometheus myData.ports.soju - myData.ports.matrix-synapse ]; node_exporter.enable = true; diff --git a/modules/services/matrix-synapse/default.nix b/modules/services/matrix-synapse/default.nix index 4140a84..267552c 100644 --- a/modules/services/matrix-synapse/default.nix +++ b/modules/services/matrix-synapse/default.nix @@ -18,25 +18,6 @@ extraConfigFiles = ["/run/matrix-synapse/secrets.yaml"]; settings = { server_name = "jakstys.lt"; - listeners = [ - { - bind_addresses = ["0.0.0.0"]; - port = myData.ports.matrix-synapse; - type = "http"; - tls = false; - x_forwarded = true; - resources = [ - { - names = ["client"]; - compress = true; - } - { - names = ["federation"]; - compress = false; - } - ]; - } - ]; admin_contact = "motiejus@jakstys.lt"; enable_registration = false; report_stats = true;