Browse Source

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.
Nolan Lawson 7 years ago
parent
commit
6b29d736ec
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Running-Mastodon/Production-guide.md

+ 1 - 1
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;
   }