remove matrix-synapse.sliding-sync warn and add nextcloud apps

This commit is contained in:
Tristan 2024-02-27 17:49:27 +00:00
parent 4c318790ac
commit f8dd1681aa
2 changed files with 17 additions and 4 deletions

View file

@ -13,7 +13,7 @@
'';
port = 8008;
inherit (config) sops;
inherit (config.services) matrix-synapse;
inherit (config.services) matrix-synapse matrix-sliding-sync;
inherit (sops) secrets templates;
in {
services.postgresql.enable = true;
@ -110,14 +110,14 @@ in {
};
locations."/_matrix".proxyPass = "http://localhost:${toString port}";
locations."/_synapse/client".proxyPass = "http://localhost:${toString port}";
locations."/_matrix/client/unstable/org.matrix.msc3575/sync".proxyPass = "http://${toString matrix-synapse.sliding-sync.settings.SYNCV3_BINDADDR}";
locations."/_matrix/client/unstable/org.matrix.msc3575/sync".proxyPass = "http://${toString matrix-sliding-sync.settings.SYNCV3_BINDADDR}";
};
${fqdn} = {
enableACME = true;
forceSSL = true;
locations."/_matrix".proxyPass = "http://localhost:${toString port}";
locations."/_synapse/client".proxyPass = "http://localhost:${toString port}";
locations."/_matrix/client/unstable/org.matrix.msc3575/sync".proxyPass = "http://${toString matrix-synapse.sliding-sync.settings.SYNCV3_BINDADDR}";
locations."/_matrix/client/unstable/org.matrix.msc3575/sync".proxyPass = "http://${toString matrix-sliding-sync.settings.SYNCV3_BINDADDR}";
};
};
}