Fix server
This commit is contained in:
parent
df9e3624f6
commit
7b03a2133b
@ -1,34 +1,36 @@
|
|||||||
{ pkgs, config, lib, ... }: {
|
{ pkgs, config, lib, ... }: {
|
||||||
services.matrix-synapse = {
|
services.matrix-synapse = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allow_guest_access = false;
|
settings = {
|
||||||
listeners = [{
|
allow_guest_access = false;
|
||||||
bind_address = "0.0.0.0";
|
listeners = [{
|
||||||
port = 13748;
|
# bind_address = "0.0.0.0";
|
||||||
resources = [
|
port = 13748;
|
||||||
{
|
resources = [
|
||||||
compress = true;
|
{
|
||||||
names = [ "client" ];
|
compress = true;
|
||||||
}
|
names = [ "client" ];
|
||||||
{
|
}
|
||||||
compress = false;
|
{
|
||||||
names = [ "federation" ];
|
compress = false;
|
||||||
}
|
names = [ "federation" ];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
type = "http";
|
||||||
|
tls = false;
|
||||||
|
x_forwarded = true;
|
||||||
|
}];
|
||||||
|
public_baseurl = "https://balsoft.ru";
|
||||||
|
server_name = "balsoft.ru";
|
||||||
|
turn_uris =
|
||||||
|
[ "turn:balsoft.ru?transport=udp" "turn:balsoft.ru?transport=tcp" ];
|
||||||
|
extraConfigFiles = [
|
||||||
|
config.secrets-envsubst.coturn.substituted
|
||||||
|
config.secrets-envsubst.matrix.substituted
|
||||||
];
|
];
|
||||||
type = "http";
|
app_service_config_files =
|
||||||
tls = false;
|
[ config.secrets-envsubst.mautrix-telegram-registration.substituted ];
|
||||||
x_forwarded = true;
|
};
|
||||||
}];
|
|
||||||
public_baseurl = "https://balsoft.ru";
|
|
||||||
server_name = "balsoft.ru";
|
|
||||||
turn_uris =
|
|
||||||
[ "turn:balsoft.ru?transport=udp" "turn:balsoft.ru?transport=tcp" ];
|
|
||||||
extraConfigFiles = [
|
|
||||||
config.secrets-envsubst.coturn.substituted
|
|
||||||
config.secrets-envsubst.matrix.substituted
|
|
||||||
];
|
|
||||||
app_service_config_files =
|
|
||||||
[ config.secrets-envsubst.mautrix-telegram-registration.substituted ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.postgresql.enable = true;
|
services.postgresql.enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user