Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Add nginx comment for webseed redirection

Chocobozzz9a26d00e5ed2
diff --git a/support/nginx/peertube b/support/nginx/peertube
index ee981abcfe..5ce59a1121 100644
--- a/support/nginx/peertube
+++ b/support/nginx/peertube
@@ -247,6 +247,7 @@ server {
sendfile_max_chunk 1M; # prevent one fast connection from entirely occupying the worker process. should be > 800k.
aio threads;
+ # web-videos is the name of the directory mapped to the `storage.web_videos` key in your PeerTube configuration
rewrite ^/static/webseed/(.*)$ /web-videos/$1 break;
rewrite ^/static/(.*)$ /$1 break;