keycloak #1
@@ -76,6 +76,7 @@ in
|
||||
"mealie"
|
||||
"metube"
|
||||
"atticd"
|
||||
"keycloak"
|
||||
]
|
||||
// enableList mkEnabledIp [
|
||||
"audiobookshelf"
|
||||
|
||||
@@ -31,12 +31,14 @@ in
|
||||
name = "keycloak";
|
||||
passwordFile = config.sops.secrets."keycloak/db_password".path;
|
||||
};
|
||||
settings.hostname = cfg.host;
|
||||
"hostname-strict" = true;
|
||||
"hostname-strict-https" = false;
|
||||
"http-enabled" = true;
|
||||
"http-port" = cfg.port;
|
||||
"proxy" = "edge";
|
||||
settings = {
|
||||
hostname = cfg.host;
|
||||
hostname-strict = true;
|
||||
hostname-strict-https = false;
|
||||
http-enabled = true;
|
||||
http-port = cfg.port;
|
||||
proxy = "edge";
|
||||
};
|
||||
};
|
||||
systemd.services.keycloak.serviceConfig.EnvironmentFile = config.sops.secrets.keycloak.path;
|
||||
services.nginx.virtualHosts.${cfg.host} = lib.mkIf (cfg.enableProxy && config.my.enableProxy) (
|
||||
|
||||
Reference in New Issue
Block a user