Enable anarkafem.dev federation

This commit is contained in:
Emelie Graven 2021-11-18 16:12:46 +01:00
parent fc226a3da6
commit f6f8527276
Signed by: emelie
GPG key ID: C11123726DBB55A1
2 changed files with 2 additions and 5 deletions

View file

@ -6,8 +6,7 @@
forceSSL = true; forceSSL = true;
locations."/".root = "/var/www/anarkafem.dev/public"; locations."/".root = "/var/www/anarkafem.dev/public";
locations."/_matrix/".proxyPass = "http://127.0.0.1:8008"; locations."/_matrix/".proxyPass = "http://127.0.0.1:8008";
locations."/_matrix/federation".return = "403"; locations."/_synapse".proxyPass = "http://127.0.0.1:8008";
locations."/_synapse/client".proxyPass = "http://127.0.0.1:8008";
locations."/.well-known/matrix/" = { locations."/.well-known/matrix/" = {
root = "/var/www/matrix/public"; root = "/var/www/matrix/public";
extraConfig = '' extraConfig = ''

View file

@ -25,8 +25,6 @@
withJemalloc = true; withJemalloc = true;
servers = { "anarkafem.dev" = {}; }; servers = { "anarkafem.dev" = {}; };
extraConfig = '' extraConfig = ''
federation_domain_whitelist:
- anarkafem.dev
auto_join_rooms: auto_join_rooms:
- "#suf-aalborg:anarkafem.dev" - "#suf-aalborg:anarkafem.dev"
''; '';
@ -63,7 +61,7 @@
x_forwarded = true; x_forwarded = true;
resources = [ resources = [
{ {
names = [ "client" ]; names = [ "client" "federation" ];
compress = false; compress = false;
} }
]; ];