aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/nginx/peertube
diff options
context:
space:
mode:
Diffstat (limited to 'support/nginx/peertube')
-rw-r--r--support/nginx/peertube3
1 files changed, 2 insertions, 1 deletions
diff --git a/support/nginx/peertube b/support/nginx/peertube
index 0e77f6ae4..f28f26f7a 100644
--- a/support/nginx/peertube
+++ b/support/nginx/peertube
@@ -57,7 +57,8 @@ server {
57 } 57 }
58 58
59 location ~ ^/static/(thumbnails|avatars)/(.*)$ { 59 location ~ ^/static/(thumbnails|avatars)/(.*)$ {
60 add_header Cache-Control "public, max-age=31536000, immutable"; 60 # Cache 2 hours
61 add_header Cache-Control "public, max-age=7200";
61 62
62 alias /var/www/peertube/storage/$1/$2; 63 alias /var/www/peertube/storage/$1/$2;
63 } 64 }