Better caching for the blog

This commit is contained in:
nora 2025-08-17 22:19:56 +02:00
parent 6b97a53344
commit 9c688d469f

View file

@ -13,6 +13,10 @@
extraConfig = ''
encode zstd gzip
header -Last-Modified
header /blog/css/* Cache-Control "max-age=31540000, immutable"
header /blog/fonts/* Cache-Control "max-age=31540000, immutable"
file_server {
fs garage
# TODO: run precompress script