Commit 53039fd
Changed files (1)
nginx
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 {