Require SSL for database connection
This commit is contained in:
parent
7b318d0aaf
commit
ebf7d59e30
@ -231,6 +231,7 @@ in {
|
|||||||
user = cfg.database.user;
|
user = cfg.database.user;
|
||||||
password = "$__file{${cfg.database.password-file}}";
|
password = "$__file{${cfg.database.password-file}}";
|
||||||
type = "postgres";
|
type = "postgres";
|
||||||
|
ssl_mode = "require";
|
||||||
};
|
};
|
||||||
|
|
||||||
"ldap.auth" = mkIf (cfg.ldap != null) (let
|
"ldap.auth" = mkIf (cfg.ldap != null) (let
|
||||||
|
Loading…
x
Reference in New Issue
Block a user