mirror of
https://github.com/dali99/nixos-matrix-modules.git
synced 2025-03-23 20:12:52 +01:00
Compare commits
No commits in common. "d7dc42c9bbb155c5e4aa2f0985d0df75ce978456" and "6c9b67974b839740e2a738958512c7a704481157" have entirely different histories.
d7dc42c9bb
...
6c9b67974b
@ -89,7 +89,7 @@ in
|
|||||||
ensureDatabases = [ "matrix-sliding-sync" ];
|
ensureDatabases = [ "matrix-sliding-sync" ];
|
||||||
ensureUsers = [ rec {
|
ensureUsers = [ rec {
|
||||||
name = "matrix-sliding-sync";
|
name = "matrix-sliding-sync";
|
||||||
ensureDBOwnership = true;
|
ensurePermissions."DATABASE \"${name}\"" = "ALL PRIVILEGES";
|
||||||
} ];
|
} ];
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -107,7 +107,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
services.nginx.virtualHosts.${cfg.publicBaseUrl} = lib.mkIf cfg.enableNginx {
|
services.nginx.virtualHosts.${cfg.publicBaseUrl} = lib.mkIf cfg.enableNginx {
|
||||||
enableACME = lib.mkDefault true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = lib.replaceStrings [ "0.0.0.0" "::" ] [ "127.0.0.1" "::1" ] "http://${cfg.settings.SYNCV3_BINDADDR}";
|
proxyPass = lib.replaceStrings [ "0.0.0.0" "::" ] [ "127.0.0.1" "::1" ] "http://${cfg.settings.SYNCV3_BINDADDR}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user