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.
This commit is contained in:
Nolan Lawson 2017-05-22 20:07:40 -07:00 committed by GitHub
parent 92405a8d91
commit 6b29d736ec
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}