1
0
mirror of https://github.com/mastodon/documentation synced 2025-04-11 22:56:17 +02:00

Add photos and avatars to static/immutable cache (#184)

This commit is contained in:
Nolan Lawson 2017-05-01 07:57:16 -07:00 committed by wxcafé
parent e67e623405
commit 718daad4a8

View File

@ -64,7 +64,7 @@ server {
try_files $uri @proxy;
}
location /assets {
location ~ ^/(assets|system/media_attachments/files|system/accounts/avatars) {
add_header Cache-Control "public, max-age=31536000, immutable";
}