Migrate Synapse and Mautrix bridges (Whatsapp, Signal and Telegram)
Some checks are pending
Flake check / check (push) Waiting to run
Update `flake.lock` / update_lockfile (push) Waiting to run

This commit is contained in:
Pedro Rey Anca 2025-10-30 19:09:10 +01:00
parent 1b98a0e723
commit 2d065e2493
Signed by: peprolinbot
GPG key ID: 053EA6E00116533A
3 changed files with 320 additions and 2 deletions

View file

@ -1,10 +1,14 @@
{config, ...}: {
{ config, ... }:
{
security.acme = {
acceptTerms = true;
defaults.email = "personal+letsencrypt@peprolinbot.com";
};
networking.firewall.allowedTCPPorts = [80 443];
networking.firewall.allowedTCPPorts = [
80
443
];
services.nginx = {
enable = true;
@ -24,6 +28,19 @@
proxyPass = "https://${config.services.kanidm.serverSettings.bindaddress}";
};
};
"synapse.peprolinbot.com" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://[::1]:8008";
extraConfig = ''
client_max_body_size ${config.services.matrix-synapse.settings.max_upload_size};
'';
};
};
};
};
}