defiant: various small cleanups

This commit is contained in:
Felix Albrigtsen 2024-06-12 14:48:06 +02:00
parent ff71cb75b7
commit d74714095f
2 changed files with 8 additions and 2 deletions

View File

@ -2,7 +2,6 @@
let let
cfg = config.services.keycloak.settings; cfg = config.services.keycloak.settings;
in { in {
environment.noXlibs = false;
sops.secrets."keycloak/postgres" = { }; sops.secrets."keycloak/postgres" = { };
services.keycloak = { services.keycloak = {

View File

@ -62,7 +62,14 @@ in {
''; '';
}; };
}; };
"cloud.feal.no" = publicProxy "http://voyager.home.feal.no" {}; "cloud.feal.no" = publicProxy "" {
locations."/" = {
proxyPass = "http://voyager.home.feal.no";
extraConfig = ''
client_max_body_size 8G;
'';
};
};
"git.feal.no" = publicProxy "http://unix:${gitea.server.HTTP_ADDR}" {}; "git.feal.no" = publicProxy "http://unix:${gitea.server.HTTP_ADDR}" {};
"jf.feal.no" = publicProxy "http://jellyfin.home.feal.no/" {}; "jf.feal.no" = publicProxy "http://jellyfin.home.feal.no/" {};
"iam.feal.no" = publicProxy "http://${keycloak.http-host}:${toString keycloak.http-port}" {}; "iam.feal.no" = publicProxy "http://${keycloak.http-host}:${toString keycloak.http-port}" {};