Disable Matrix federation

This commit is contained in:
coolneng 2021-02-03 01:46:38 +01:00
parent e19f9f8a8a
commit e65f322cfb
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
4 changed files with 2 additions and 5 deletions

View File

@ -10,7 +10,7 @@
tls = false; tls = false;
resources = [{ resources = [{
compress = true; compress = true;
names = [ "client" "webclient" "federation" ]; names = [ "client" ];
}]; }];
x_forwarded = true; x_forwarded = true;
}]; }];
@ -18,7 +18,7 @@
# Telegram bridge for Matrix # Telegram bridge for Matrix
services.mautrix-telegram = { services.mautrix-telegram = {
enable = false; enable = true;
environmentFile = /var/lib/mautrix-telegram/telegram.env; environmentFile = /var/lib/mautrix-telegram/telegram.env;
settings = { settings = {
homeserver = { homeserver = {

View File

@ -31,7 +31,6 @@ in {
80 # HTTP 80 # HTTP
443 # HTTPS 443 # HTTPS
53 # DNS 53 # DNS
8448 # Matrix federation
]; ];
allowedUDPPorts = [ allowedUDPPorts = [
1194 # Wireguard 1194 # Wireguard

View File

@ -60,7 +60,6 @@
extraConfig = extraConfig =
"rewrite ^/miniflux/(.*)$ https://rss.coolneng.duckdns.org/$1 last;"; "rewrite ^/miniflux/(.*)$ https://rss.coolneng.duckdns.org/$1 last;";
}; };
locations."/.well-known/".alias = "${../well-known}" + "/";
}; };
"radicale.coolneng.duckdns.org" = { "radicale.coolneng.duckdns.org" = {
enableACME = true; enableACME = true;

View File

@ -1 +0,0 @@
{ "m.server": "matrix.coolneng.duckdns.org:443" }