From c7c55dca44b35ae2c2ff0c136cc4e3d54b8176bb Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Tue, 3 Jun 2025 21:30:55 -0400 Subject: [PATCH] Infini-DL360/web: stop caching random foxes --- hosts/Infini-DL360/web.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/Infini-DL360/web.nix b/hosts/Infini-DL360/web.nix index 122c66e..366892f 100644 --- a/hosts/Infini-DL360/web.nix +++ b/hosts/Infini-DL360/web.nix @@ -103,7 +103,11 @@ in "random.inx.moe" = ssl-inx // { locations."/" = { 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 // {