enable registration matrix

This commit is contained in:
Johannes Jöns 2024-04-23 19:29:01 +02:00
parent 66c105610e
commit ecaa179aad

View file

@ -61,19 +61,25 @@ in
services.matrix-synapse = { services.matrix-synapse = {
enable = true; enable = true;
settings.server_name = "missing.ninja"; settings = {
settings.public_baseurl = baseUrl; server_name = "missing.ninja";
settings.listeners = [ enable_registration = true;
{ port = 8008; public_baseurl = baseUrl;
bind_addresses = [ "::1" ]; listeners = [
type = "http"; {
tls = false; port = 8008;
x_forwarded = true; bind_addresses = [ "::1" ];
resources = [ { type = "http";
names = [ "client" "federation" ]; tls = false;
compress = true; x_forwarded = true;
} ]; resources = [
} {
]; names = [ "client" "federation" ];
compress = true;
}
];
}
];
};
}; };
} }