From 9a26d00e5ed22301733394b82abb1df68e6296e1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 13 Jul 2023 09:47:18 +0200 Subject: [PATCH] Add nginx comment for webseed redirection --- support/nginx/peertube | 1 + 1 file changed, 1 insertion(+) diff --git a/support/nginx/peertube b/support/nginx/peertube index ee981abcf..5ce59a112 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;