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/" { }; }; }