From 835cc752a7391fe66418fc93946bd26f379dbcc5 Mon Sep 17 00:00:00 2001 From: Ujaan Das <79176268+ujaandas@users.noreply.github.com> Date: Tue, 17 Mar 2026 18:53:15 +0000 Subject: [PATCH] netbird-dashboard: fix SPA routing by falling back to index.html --- nixos/modules/services/networking/netbird/dashboard.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/netbird/dashboard.nix b/nixos/modules/services/networking/netbird/dashboard.nix index 4efe1f4dfba38..b558ff28c2ad0 100644 --- a/nixos/modules/services/networking/netbird/dashboard.nix +++ b/nixos/modules/services/networking/netbird/dashboard.nix @@ -171,7 +171,7 @@ in root = cfg.finalDrv; locations = { - "/".tryFiles = "$uri $uri.html $uri/ =404"; + "/".tryFiles = "$uri $uri/ /index.html"; "= /404.html".extraConfig = '' internal;