From d85f90ec7e1b64a1f6c9c226d7b49ada813070f6 Mon Sep 17 00:00:00 2001 From: Joshua Potter Date: Tue, 30 Jan 2024 17:11:21 -0700 Subject: [PATCH] chore: bump `wiki` and add clean URLs. --- services/wiki.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/wiki.nix b/services/wiki.nix index 93045a1..f17ae7b 100644 --- a/services/wiki.nix +++ b/services/wiki.nix @@ -1,7 +1,7 @@ { system, ... }: let wiki = builtins.getFlake - "github:jrpotter/wiki/ea2b31616bb8fbe633db224d6d663adbebf2f972"; + "github:jrpotter/wiki/ea476410252407a861c1205366675e87137525f6"; in { services.nginx.virtualHosts."wiki.jrpotter.com" = { @@ -9,6 +9,7 @@ in enableACME = true; locations."/" = { root = wiki.packages.${system}.app; + tryFiles = "$uri $uri.html $uri/ =404"; }; }; }