Merge pull request #258 from nolanlawson/patch-3

s/assets/packs/
This commit is contained in:
Eugen Rochko 2017-05-23 16:56:57 +02:00 committed by GitHub
commit 0ef957b91b

View file

@ -67,7 +67,7 @@ server {
try_files $uri @proxy; 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"; add_header Cache-Control "public, max-age=31536000, immutable";
try_files $uri @proxy; try_files $uri @proxy;
} }