From bfcb4f7dcee35bd02388e5209f93beb2c331464a Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Wed, 25 Sep 2024 19:28:45 +0200 Subject: [PATCH] defiant/nginx: Fix broken git-default. Temporarily disable nextcloud --- hosts/defiant/services/nginx.nix | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/hosts/defiant/services/nginx.nix b/hosts/defiant/services/nginx.nix index 959a8f6..fe34334 100644 --- a/hosts/defiant/services/nginx.nix +++ b/hosts/defiant/services/nginx.nix @@ -12,8 +12,6 @@ in { recommendedGzipSettings = true; recommendedOptimisation = true; - virtualHosts."git.feal.no".default = true; - defaultListen = [ { addr = "192.168.10.175"; @@ -56,17 +54,19 @@ in { ''; } // overrides; in { - "cloud.feal.no" = publicProxy "" { - locations."/" = { - proxyPass = "http://challenger.home.feal.no"; - extraConfig = '' - client_max_body_size 8G; - ''; - }; + # "cloud.feal.no" = publicProxy "" { + # locations."/" = { + # proxyPass = "http://challenger.home.feal.no"; + # extraConfig = '' + # client_max_body_size 8G; + # ''; + # }; + # }; + "git.feal.no" = publicProxy "http://unix:${gitea.server.HTTP_ADDR}" { + default = true; }; - "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}" {}; - "music.feal.no" = publicProxy "http://challenger.home.feal.no/" {}; + "jf.feal.no" = publicProxy "http://jellyfin.home.feal.no/" { }; + "iam.feal.no" = publicProxy "http://${keycloak.http-host}:${toString keycloak.http-port}" { }; + "music.feal.no" = publicProxy "http://challenger.home.feal.no/" { }; }; }