aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
Diffstat (limited to 'support')
-rw-r--r--support/doc/production.md2
-rw-r--r--support/nginx/peertube2
2 files changed, 2 insertions, 2 deletions
diff --git a/support/doc/production.md b/support/doc/production.md
index 2d746bba5..de5d67b4e 100644
--- a/support/doc/production.md
+++ b/support/doc/production.md
@@ -103,7 +103,7 @@ server {
103 alias /home/peertube/peertube-latest/client/dist/$1; 103 alias /home/peertube/peertube-latest/client/dist/$1;
104 } 104 }
105 105
106 location ~ ^/static/(thumbnails|avatars|previews)/(.*)$ { 106 location ~ ^/static/(thumbnails|avatars)/(.*)$ {
107 add_header Cache-Control "public, max-age=31536000, immutable"; 107 add_header Cache-Control "public, max-age=31536000, immutable";
108 108
109 alias /home/peertube/storage/$1/$2; 109 alias /home/peertube/storage/$1/$2;
diff --git a/support/nginx/peertube b/support/nginx/peertube
index 8973f2f24..098818e57 100644
--- a/support/nginx/peertube
+++ b/support/nginx/peertube
@@ -29,7 +29,7 @@ server {
29 alias /home/peertube/peertube-latest/client/dist/$1; 29 alias /home/peertube/peertube-latest/client/dist/$1;
30 } 30 }
31 31
32 location ~ ^/static/(thumbnails|avatars|previews)/(.*)$ { 32 location ~ ^/static/(thumbnails|avatars)/(.*)$ {
33 add_header Cache-Control "public, max-age=31536000, immutable"; 33 add_header Cache-Control "public, max-age=31536000, immutable";
34 34
35 alias /home/peertube/storage/$1/$2; 35 alias /home/peertube/storage/$1/$2;