From d74714095fccb8fb16e12dd2f7e0f29683724f25 Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Wed, 12 Jun 2024 14:48:06 +0200 Subject: [PATCH] defiant: various small cleanups --- hosts/defiant/services/keycloak.nix | 1 - hosts/defiant/services/nginx.nix | 9 ++++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/hosts/defiant/services/keycloak.nix b/hosts/defiant/services/keycloak.nix index 23da159..1912454 100644 --- a/hosts/defiant/services/keycloak.nix +++ b/hosts/defiant/services/keycloak.nix @@ -2,7 +2,6 @@ let cfg = config.services.keycloak.settings; in { - environment.noXlibs = false; sops.secrets."keycloak/postgres" = { }; services.keycloak = { diff --git a/hosts/defiant/services/nginx.nix b/hosts/defiant/services/nginx.nix index c3042fd..0b6c87a 100644 --- a/hosts/defiant/services/nginx.nix +++ b/hosts/defiant/services/nginx.nix @@ -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}" {}; "jf.feal.no" = publicProxy "http://jellyfin.home.feal.no/" {}; "iam.feal.no" = publicProxy "http://${keycloak.http-host}:${toString keycloak.http-port}" {};