mirror of
https://github.com/dali99/nixos-matrix-modules.git
synced 2025-01-09 19:01:14 +01:00
Compare commits
2 Commits
6c9b67974b
...
d7dc42c9bb
Author | SHA1 | Date | |
---|---|---|---|
d7dc42c9bb | |||
61b366f5f6 |
@ -89,7 +89,7 @@ in
|
||||
ensureDatabases = [ "matrix-sliding-sync" ];
|
||||
ensureUsers = [ rec {
|
||||
name = "matrix-sliding-sync";
|
||||
ensurePermissions."DATABASE \"${name}\"" = "ALL PRIVILEGES";
|
||||
ensureDBOwnership = true;
|
||||
} ];
|
||||
};
|
||||
|
||||
@ -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}";
|
||||
|
Loading…
Reference in New Issue
Block a user