From 6b29d736ecd097a866389ae12855ba909e3fd050 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Mon, 22 May 2017 20:07:40 -0700 Subject: [PATCH] s/assets/packs/ `assets` are now at `packs`. Unfortunately this change will permanently cache `stats.json` and `report.html`, but these aren't super critical since they're just for debugging. I confirmed that `manifest.json` is not affected and no other non-fingerprinted assets are affected. --- Running-Mastodon/Production-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Running-Mastodon/Production-guide.md b/Running-Mastodon/Production-guide.md index e9a9c22c..f303eda8 100644 --- a/Running-Mastodon/Production-guide.md +++ b/Running-Mastodon/Production-guide.md @@ -67,7 +67,7 @@ server { try_files $uri @proxy; } - location ~ ^/(assets|system/media_attachments/files|system/accounts/avatars) { + location ~ ^/(packs|system/media_attachments/files|system/accounts/avatars) { add_header Cache-Control "public, max-age=31536000, immutable"; try_files $uri @proxy; }