From bf1e0196174c48b1334c4d280c77ff6b44bf487a Mon Sep 17 00:00:00 2001 From: diamondburned Date: Mon, 6 May 2024 17:06:51 -0700 Subject: [PATCH] Fix vps.acmcsuf.com caching --- servers/cs306/user-vms/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/cs306/user-vms/default.nix b/servers/cs306/user-vms/default.nix index 4b9c295..24c4927 100644 --- a/servers/cs306/user-vms/default.nix +++ b/servers/cs306/user-vms/default.nix @@ -72,7 +72,7 @@ in reverse_proxy * localhost:38274 ''; "http://vps.acmcsuf.com" = '' - header Cache-Control "must-revalidate" + header Cache-Control "public, no-cache, max-age 86400" handle /vps.json { root * ${pkgs.writeTextDir "vps.json" (builtins.toJSON config.acm.user-vms.usersInfo)} file_server