ActivityPub-federated video streaming platform using P2P directly in your web browser
Don't serve previews with nginx
Chocobozzz2e866cc75de7
diff --git a/support/doc/production.md b/support/doc/production.mdindex 2d746bba5a..de5d67b4ee 100644--- a/support/doc/production.md+++ b/support/doc/production.md@@ -103,7 +103,7 @@ server {alias /home/peertube/peertube-latest/client/dist/$1;}- location ~ ^/static/(thumbnails|avatars|previews)/(.*)$ {+ location ~ ^/static/(thumbnails|avatars)/(.*)$ {add_header Cache-Control "public, max-age=31536000, immutable";alias /home/peertube/storage/$1/$2;diff --git a/support/nginx/peertube b/support/nginx/peertubeindex 8973f2f244..098818e57a 100644--- a/support/nginx/peertube+++ b/support/nginx/peertube@@ -29,7 +29,7 @@ server {alias /home/peertube/peertube-latest/client/dist/$1;}- location ~ ^/static/(thumbnails|avatars|previews)/(.*)$ {+ location ~ ^/static/(thumbnails|avatars)/(.*)$ {add_header Cache-Control "public, max-age=31536000, immutable";alias /home/peertube/storage/$1/$2;