mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-01 17:06:33 +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 = {
|
||||
enable = true;
|
||||
settings.server_name = "missing.ninja";
|
||||
settings.public_baseurl = baseUrl;
|
||||
settings.listeners = [
|
||||
{ port = 8008;
|
||||
bind_addresses = [ "::1" ];
|
||||
type = "http";
|
||||
tls = false;
|
||||
x_forwarded = true;
|
||||
resources = [ {
|
||||
names = [ "client" "federation" ];
|
||||
compress = true;
|
||||
} ];
|
||||
}
|
||||
];
|
||||
settings = {
|
||||
server_name = "missing.ninja";
|
||||
enable_registration = true;
|
||||
public_baseurl = baseUrl;
|
||||
listeners = [
|
||||
{
|
||||
port = 8008;
|
||||
bind_addresses = [ "::1" ];
|
||||
type = "http";
|
||||
tls = false;
|
||||
x_forwarded = true;
|
||||
resources = [
|
||||
{
|
||||
names = [ "client" "federation" ];
|
||||
compress = true;
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue