change to keycloak 24
This commit is contained in:
parent
396e3c81a7
commit
ee82720db0
|
@ -23,7 +23,7 @@ in
|
||||||
description = "The name (id) of the openId client to use exclusively.";
|
description = "The name (id) of the openId client to use exclusively.";
|
||||||
};
|
};
|
||||||
dbPasswordFile = mkOption {
|
dbPasswordFile = mkOption {
|
||||||
type = types.str;
|
type = types.path;
|
||||||
default = "/etc/forgejo_db_pwd";
|
default = "/etc/forgejo_db_pwd";
|
||||||
description = "The file containing the database password. Be sure to secure it.";
|
description = "The file containing the database password. Be sure to secure it.";
|
||||||
};
|
};
|
||||||
|
|
|
@ -31,8 +31,6 @@ in
|
||||||
http-host = "127.0.0.1";
|
http-host = "127.0.0.1";
|
||||||
http-port = 8080;
|
http-port = 8080;
|
||||||
https-port = 8443;
|
https-port = 8443;
|
||||||
proxy = "edge"; # TODO: change to reencrypt or passthrough
|
|
||||||
hostname-strict-backchannel = true;
|
|
||||||
};
|
};
|
||||||
services.keycloak.initialAdminPassword = cfg.initialAdminPassword;
|
services.keycloak.initialAdminPassword = cfg.initialAdminPassword;
|
||||||
services.keycloak.database.passwordFile = cfg.dbPasswordFile;
|
services.keycloak.database.passwordFile = cfg.dbPasswordFile;
|
||||||
|
|
Loading…
Reference in a new issue