Infini-DL360/web: add archive

This commit is contained in:
Infinidoge 2025-06-19 23:15:33 -04:00
parent ea709cd094
commit 2c92a6460d
Signed by: Infinidoge
SSH key fingerprint: SHA256:EMoPe5e2dO0gEvtBb2xkZTz5dkyL0rBmuiGTKG5s96E

View file

@ -100,6 +100,12 @@ in
root = "/srv/web/files.inx.moe"; 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 // { "random.inx.moe" = ssl-inx // {
locations."/" = { locations."/" = {
root = "/srv/web/files.inx.moe/subject"; root = "/srv/web/files.inx.moe/subject";
@ -130,4 +136,6 @@ in
plugins = [ "python3" ]; plugins = [ "python3" ];
instance.type = "emperor"; instance.type = "emperor";
}; };
storage.directories = [ "/srv/web/archive.inx.moe" ];
} }