From 2c92a6460d4feb2d9c2e2343c3a95f181935c916 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Thu, 19 Jun 2025 23:15:33 -0400 Subject: [PATCH] Infini-DL360/web: add archive --- hosts/Infini-DL360/web.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hosts/Infini-DL360/web.nix b/hosts/Infini-DL360/web.nix index 366892f..cafc37a 100644 --- a/hosts/Infini-DL360/web.nix +++ b/hosts/Infini-DL360/web.nix @@ -100,6 +100,12 @@ in root = "/srv/web/files.inx.moe"; }; }; + "archive.inx.moe" = ssl-inx // { + locations."/" = { + root = "/srv/web/archive.inx.moe"; + extraConfig = "expires max;"; + }; + }; "random.inx.moe" = ssl-inx // { locations."/" = { root = "/srv/web/files.inx.moe/subject"; @@ -130,4 +136,6 @@ in plugins = [ "python3" ]; instance.type = "emperor"; }; + + storage.directories = [ "/srv/web/archive.inx.moe" ]; }