aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-07-13 09:47:18 +0200
committerChocobozzz <me@florianbigard.com>2023-07-17 11:31:46 +0200
commit9a26d00e5ed22301733394b82abb1df68e6296e1 (patch)
tree74ad40d8dd58f40e8f1aaa16978464e55c53b4e2 /support
parentcbe06f779f485935b227ccbb48a4493e4acda725 (diff)
downloadPeerTube-9a26d00e5ed22301733394b82abb1df68e6296e1.tar.gz
PeerTube-9a26d00e5ed22301733394b82abb1df68e6296e1.tar.zst
PeerTube-9a26d00e5ed22301733394b82abb1df68e6296e1.zip
Add nginx comment for webseed redirection
Diffstat (limited to 'support')
-rw-r--r--support/nginx/peertube1
1 files changed, 1 insertions, 0 deletions
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 {
247 sendfile_max_chunk 1M; # prevent one fast connection from entirely occupying the worker process. should be > 800k. 247 sendfile_max_chunk 1M; # prevent one fast connection from entirely occupying the worker process. should be > 800k.
248 aio threads; 248 aio threads;
249 249
250 # web-videos is the name of the directory mapped to the `storage.web_videos` key in your PeerTube configuration
250 rewrite ^/static/webseed/(.*)$ /web-videos/$1 break; 251 rewrite ^/static/webseed/(.*)$ /web-videos/$1 break;
251 rewrite ^/static/(.*)$ /$1 break; 252 rewrite ^/static/(.*)$ /$1 break;
252 253