From 9e49160440de625dbaa075b876ab63b3705cf766 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Fri, 10 Sep 2021 08:15:18 -0500 Subject: [PATCH] Update 'peertube.conf' --- peertube.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/peertube.conf b/peertube.conf index c9517f7..68666cb 100644 --- a/peertube.conf +++ b/peertube.conf @@ -246,6 +246,9 @@ server { sendfile_max_chunk 1M; # prevent one fast connection from entirely occupying the worker process. should be > 800k. aio threads; + rewrite ^/static/webseed/(.*)$ /videos/$1 break; + rewrite ^/static/(.*)$ /$1 break; + try_files $uri @api; } }