nixos/netbird-dashboard: fixes 404.html not being served (#487438)

This commit is contained in:
Janne Heß
2026-02-09 18:25:08 +00:00
committed by GitHub
@@ -168,13 +168,12 @@ in
enable = true;
virtualHosts.${cfg.domain} = {
locations = {
"/" = {
root = cfg.finalDrv;
tryFiles = "$uri $uri.html $uri/ =404";
};
root = cfg.finalDrv;
"/404.html".extraConfig = ''
locations = {
"/".tryFiles = "$uri $uri.html $uri/ =404";
"= /404.html".extraConfig = ''
internal;
'';
};