Merge pull request 'Set cache to expire after one hour on clan.lol' (#152) from Qubasa-main into main
All checks were successful
checks / test (push) Successful in 25s
All checks were successful
checks / test (push) Successful in 25s
This commit is contained in:
commit
e9c98acb7e
|
@ -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";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user