From b132d93b2f94519fbfbabdbe7c06f186ee087382 Mon Sep 17 00:00:00 2001 From: catvayor Date: Sun, 8 Sep 2024 21:17:46 +0200 Subject: [PATCH] traque serve index.html on / --- machines/kat-traque/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/machines/kat-traque/default.nix b/machines/kat-traque/default.nix index 8927cbe..086773b 100644 --- a/machines/kat-traque/default.nix +++ b/machines/kat-traque/default.nix @@ -100,6 +100,9 @@ in enableACME = true; addSSL = true; locations = { + "= /" = { + alias = "${traque-pkg}/share/traque-webroot/"; + }; "/" = { root = "${traque-pkg}/share/traque-webroot"; tryFiles = "$uri $uri.html @backend"; @@ -122,6 +125,9 @@ in enableACME = true; addSSL = true; locations = { + "= /" = { + alias = "/traque/static/"; + }; "/" = { root = "/traque/static"; tryFiles = "$uri $uri.html @backend";