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; } }