Skip to content

Commit

Permalink
Fix vps.acmcsuf.com caching
Browse files Browse the repository at this point in the history
  • Loading branch information
diamondburned committed May 7, 2024
1 parent 79b8064 commit bf1e019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion servers/cs306/user-vms/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bf1e019

Please sign in to comment.