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;
listeners = [
{
port = 8008;
bind_addresses = [ "::1" ]; bind_addresses = [ "::1" ];
type = "http"; type = "http";
tls = false; tls = false;
x_forwarded = true; x_forwarded = true;
resources = [ { resources = [
{
names = [ "client" "federation" ]; names = [ "client" "federation" ];
compress = true; compress = true;
} ]; }
];
} }
]; ];
}; };
};
} }