From f6f8527276129248cfe958111e419f5dc2b08b01 Mon Sep 17 00:00:00 2001 From: Emelie Graven Date: Thu, 18 Nov 2021 16:12:46 +0100 Subject: [PATCH] Enable anarkafem.dev federation --- config/hosts/grondahl/services/nginx.nix | 3 +-- config/hosts/grondahl/services/synapse.nix | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/config/hosts/grondahl/services/nginx.nix b/config/hosts/grondahl/services/nginx.nix index 464f803..505f79b 100644 --- a/config/hosts/grondahl/services/nginx.nix +++ b/config/hosts/grondahl/services/nginx.nix @@ -6,8 +6,7 @@ forceSSL = true; locations."/".root = "/var/www/anarkafem.dev/public"; locations."/_matrix/".proxyPass = "http://127.0.0.1:8008"; - locations."/_matrix/federation".return = "403"; - locations."/_synapse/client".proxyPass = "http://127.0.0.1:8008"; + locations."/_synapse".proxyPass = "http://127.0.0.1:8008"; locations."/.well-known/matrix/" = { root = "/var/www/matrix/public"; extraConfig = '' diff --git a/config/hosts/grondahl/services/synapse.nix b/config/hosts/grondahl/services/synapse.nix index 59471ab..a50b15a 100644 --- a/config/hosts/grondahl/services/synapse.nix +++ b/config/hosts/grondahl/services/synapse.nix @@ -25,8 +25,6 @@ withJemalloc = true; servers = { "anarkafem.dev" = {}; }; extraConfig = '' - federation_domain_whitelist: - - anarkafem.dev auto_join_rooms: - "#suf-aalborg:anarkafem.dev" ''; @@ -63,7 +61,7 @@ x_forwarded = true; resources = [ { - names = [ "client" ]; + names = [ "client" "federation" ]; compress = false; } ];