Commit 53039fd

Daniel Axtens <dja@axtens.net>
2026-10-27 23:48:23
support new gitmal sha-tagged css
1 parent c94f163
Changed files (1)
nginx/nginx.conf
@@ -39,6 +39,8 @@ http {
         "~^/style\.min\..*\.css$" "public, max-age=31536000, s-maxage=31536000, stale-if-error=3600, immutable";
         # hugo processed images have a hash
         "~^.*_hu.*\.(jpg|jpeg|png|gif|webp|avif)$" "public, max-age=31536000, s-maxage=31536000, stale-if-error=3600, immutable";
+        # my forked gitmal makes lovely hash-named CSS files
+        "~^/git/.*/assets/common\..*.css" "public, max-age=31536000, s-maxage=31536000, stale-if-error=3600, immutable";
     }
 
     server {