mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-04 10:26:51 +01:00
enable registration matrix
This commit is contained in:
parent
66c105610e
commit
ecaa179aad
1 changed files with 20 additions and 14 deletions
|
@ -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;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue