Infini-DL360/web: stop caching random foxes

This commit is contained in:
Infinidoge 2025-06-03 21:30:55 -04:00
parent 4d07a2d793
commit c7c55dca44
Signed by: Infinidoge
SSH key fingerprint: SHA256:EMoPe5e2dO0gEvtBb2xkZTz5dkyL0rBmuiGTKG5s96E

View file

@ -103,7 +103,11 @@ in
"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";
extraConfig = "random_index on;"; extraConfig = ''
random_index on;
etag off;
add_header Cache-Control 'no-cache, no-store, max-age=0';
'';
}; };
}; };
"old.inx.moe" = ssl-inx-optional // { "old.inx.moe" = ssl-inx-optional // {