From d85ceb897bd48ba577ad4b1c5c093ed7ab4cb175 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 25 Jan 2024 14:00:44 +0200 Subject: [PATCH] vm: fix admin/* redirect --- vm.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm.nix b/vm.nix index bbf2761..4f953a0 100644 --- a/vm.nix +++ b/vm.nix @@ -18,7 +18,7 @@ debug ''; virtualHosts.":8001".extraConfig = lib.mkForce '' - redir /admin/ http://{host}:8003{uri} + redir /admin/* http://{host}:8003{uri} ${builtins.readFile "${pkgs.e11sync-caddyfile}"} ''; virtualHosts."http://:8003".extraConfig = lib.mkForce ''