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; } ];