chore: bump `wiki` and add clean URLs.
parent
14433dc50d
commit
d85f90ec7e
|
@ -1,7 +1,7 @@
|
||||||
{ system, ... }:
|
{ system, ... }:
|
||||||
let
|
let
|
||||||
wiki = builtins.getFlake
|
wiki = builtins.getFlake
|
||||||
"github:jrpotter/wiki/ea2b31616bb8fbe633db224d6d663adbebf2f972";
|
"github:jrpotter/wiki/ea476410252407a861c1205366675e87137525f6";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services.nginx.virtualHosts."wiki.jrpotter.com" = {
|
services.nginx.virtualHosts."wiki.jrpotter.com" = {
|
||||||
|
@ -9,6 +9,7 @@ in
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
root = wiki.packages.${system}.app;
|
root = wiki.packages.${system}.app;
|
||||||
|
tryFiles = "$uri $uri.html $uri/ =404";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue