aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-18 18:45:27 +0100
committerChocobozzz <me@florianbigard.com>2018-01-18 18:45:27 +0100
commit2e866cc75de7f34aeca4575d8dea1af597131563 (patch)
tree1b260cbcbf02bf43176c8c85f9e46be64611a01e /support/doc
parentfe452e0cab7482ce0991fcb4b506ae0dcb2eae2c (diff)
downloadPeerTube-2e866cc75de7f34aeca4575d8dea1af597131563.tar.gz
PeerTube-2e866cc75de7f34aeca4575d8dea1af597131563.tar.zst
PeerTube-2e866cc75de7f34aeca4575d8dea1af597131563.zip
Don't serve previews with nginx
We need to maintain a cache in the node process
Diffstat (limited to 'support/doc')
-rw-r--r--support/doc/production.md2
1 files changed, 1 insertions, 1 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;