1
1
mirror of https://github.com/dali99/nixos-matrix-modules.git synced 2024-12-22 02:47:29 +01:00

sliding-sync: make enableAcme lib.mkDefault to match synapse

This commit is contained in:
Daniel Lovbrotte Olsen 2024-06-01 11:39:05 +02:00
parent 61b366f5f6
commit d7dc42c9bb

View File

@ -107,7 +107,7 @@ in
};
services.nginx.virtualHosts.${cfg.publicBaseUrl} = lib.mkIf cfg.enableNginx {
enableACME = true;
enableACME = lib.mkDefault true;
forceSSL = true;
locations."/" = {
proxyPass = lib.replaceStrings [ "0.0.0.0" "::" ] [ "127.0.0.1" "::1" ] "http://${cfg.settings.SYNCV3_BINDADDR}";