Adapt matrix-synapse to upstream changes

This commit is contained in:
coolneng 2022-03-21 16:24:28 +01:00
parent 3b2b6699da
commit 770d428bdf
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 14 additions and 11 deletions

View File

@ -4,18 +4,21 @@
# Matrix server configuration # Matrix server configuration
services.matrix-synapse = { services.matrix-synapse = {
enable = true; enable = true;
server_name = "coolneng.duckdns.org"; settings = {
public_baseurl = "https://matrix.coolneng.duckdns.org"; server_name = "coolneng.duckdns.org";
listeners = [{ public_baseurl = "https://matrix.coolneng.duckdns.org";
port = 8008; listeners = [{
tls = false; port = 8008;
resources = [{ tls = false;
compress = true; resources = [{
names = [ "client" ]; compress = true;
names = [ "client" ];
}];
bind_addresses = [ "127.0.0.1" ];
}]; }];
}]; app_service_config_files =
app_service_config_files = [ "/var/lib/matrix-synapse/telegram-registration.yaml" ];
[ "/var/lib/matrix-synapse/telegram-registration.yaml" ]; };
}; };
# Telegram bridge for Matrix # Telegram bridge for Matrix