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;
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 = ''

View file

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