Set cache to expire after one hour on clan.lol
All checks were successful
checks / test (pull_request) Successful in 25s

This commit is contained in:
Luis Hebendanz 2024-03-19 13:11:43 +07:00
parent dfa1b7e5e2
commit 07e36f7625

View File

@ -31,6 +31,11 @@
charset utf-8;
source_charset utf-8;
'';
# Make sure to expire the cache after 1 hour
locations."/".extraConfig = ''
add_header Cache-Control "public, max-age=3600";
'';
locations."/thaigersprint".return = "307 https://pad.lassul.us/s/clan-thaigersprint";
};