From 86efc683ed5da8b3144ced45945e66738b9cca76 Mon Sep 17 00:00:00 2001 From: buffet Date: Mon, 6 May 2024 17:43:10 +0200 Subject: [PATCH] feat(forgejo): use LANDING_PAGE instead of 303 redirect --- hosts/ami/forgejo.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/hosts/ami/forgejo.nix b/hosts/ami/forgejo.nix index 54c9889..3652181 100644 --- a/hosts/ami/forgejo.nix +++ b/hosts/ami/forgejo.nix @@ -27,6 +27,7 @@ in { DOMAIN = "buffets.kitchen"; ROOT_URL = "https://buffets.kitchen/"; HTTP_PORT = port; + LANDING_PAGE = "/chef"; }; service = { @@ -65,12 +66,6 @@ in { forceSSL = true; locations = { - "= /" = { - extraConfig = '' - return 303 https://$host/chef; - ''; - }; - "/" = { proxyPass = "http://localhost:${toString port}"; };