nixos/netbird-dashboard: fixes 404.html not being served

This commit is contained in:
eyjhb
2026-02-05 22:51:09 +01:00
parent 822089b75a
commit d90b784639
@@ -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;
'';
};