diff options
Diffstat (limited to 'host')
-rwxr-xr-x | host/Rory-nginx/services/matrix/synapse.nix | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/host/Rory-nginx/services/matrix/synapse.nix b/host/Rory-nginx/services/matrix/synapse.nix index 6e0f537..3a58f7a 100755 --- a/host/Rory-nginx/services/matrix/synapse.nix +++ b/host/Rory-nginx/services/matrix/synapse.nix @@ -62,11 +62,12 @@ in } ]; } { - port = 8009; - bind_addresses = [ "127.0.0.1" ]; + #port = 8009; + #bind_addresses = [ "127.0.0.1" ]; type = "http"; tls = false; - x_forwarded = true; + #x_forwarded = true; + path = "/run/synapse/replication-listener.sock"; resources = [ { names = [ "replication" ]; compress = false; @@ -189,9 +190,10 @@ in instance_map = { - main = { - host = "127.0.0.1"; - port = 8009; + main = { # replication listener + #host = "127.0.0.1"; + #port = 8009; + path = "/run/synapse/replication-listener.sock"; }; } // builtins.listToAttrs (map (port: { name = "federation_sender-${toString port}"; |