From 1b86f094c845f32479f992a29c028ee02ffbbb7e Mon Sep 17 00:00:00 2001 From: clerie Date: Fri, 3 Jan 2025 22:50:42 +0100 Subject: [PATCH] hosts/web-2: Redirect to admin interface of etebase --- hosts/web-2/etebase.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/web-2/etebase.nix b/hosts/web-2/etebase.nix index 626779d..3bfe9d3 100644 --- a/hosts/web-2/etebase.nix +++ b/hosts/web-2/etebase.nix @@ -11,6 +11,11 @@ "etebase.clerie.de" = { enableACME = true; forceSSL = true; + locations = { + "= /" = { + return = ''302 "/admin/"''; + }; + }; locations = { "/" = { proxyPass = "http://127.0.0.1:8001";