From 94ffc3ee4f36c8b6af86599c521e788606571940 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Tue, 4 Mar 2025 13:54:02 -0500 Subject: [PATCH] Infini-DL360/web: add try files for it tools --- hosts/Infini-DL360/web.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/Infini-DL360/web.nix b/hosts/Infini-DL360/web.nix index 716ac2e..a68ea61 100644 --- a/hosts/Infini-DL360/web.nix +++ b/hosts/Infini-DL360/web.nix @@ -76,7 +76,10 @@ in }; }; "tools.inx.moe" = ssl-inx // { - locations."/".root = "${pkgs.it-tools}/share"; + locations."/" = { + root = "${pkgs.it-tools}/share"; + tryFiles = "$uri $uri/ $uri.html /index.html"; + }; }; };