defiant: add keycloak

This commit is contained in:
2024-06-10 10:45:59 +02:00
parent ef23fded85
commit 9fb099e043
4 changed files with 46 additions and 6 deletions

View File

@@ -1,5 +1,8 @@
{ config, values, ... }:
{
let
gitea = config.services.gitea.settings;
keycloak = config.services.keycloak.settings;
in {
services.nginx = {
enable = true;
enableReload = true;
@@ -60,7 +63,8 @@
};
};
"cloud.feal.no" = publicProxy "http://voyager.home.feal.no" {};
"git.feal.no" = publicProxy "http://unix:${config.services.gitea.settings.server.HTTP_ADDR}" {};
"git.feal.no" = publicProxy "http://unix:${gitea.server.HTTP_ADDR}" {};
"jf.feal.no" = publicProxy "http://jellyfin.home.feal.no/" {};
"iam.feal.no" = publicProxy "http://${keycloak.http-host}:${toString keycloak.http-port}" {};
};
}