diff --git a/machines/kat-orchid/configuration.nix b/machines/kat-orchid/configuration.nix index 02a3793..1805558 100644 --- a/machines/kat-orchid/configuration.nix +++ b/machines/kat-orchid/configuration.nix @@ -102,15 +102,18 @@ useACMEHost = "orchid.katvayor.net"; forceSSL = true; serverAliases = [ "www.simply-wise.fr" ]; - locations."/" = { - root = pkgs.runCommand "building" { } '' - mkdir -p $out - ln -nsf ${./building.html} $out/building.html - ''; - extraConfig = '' - internal; - error_page 404 =503 /building.html; - ''; + locations = { + "/static/".alias = "/srv/orchid/"; + "/" = { + root = pkgs.runCommand "building" { } '' + mkdir -p $out + ln -nsf ${./building.html} $out/building.html + ''; + extraConfig = '' + internal; + error_page 404 =503 /building.html; + ''; + }; }; }; };