diff --git a/webapps/peertube/templates/vhost.conf.j2 b/webapps/peertube/templates/vhost.conf.j2 index 1ec48930..cbcce978 100644 --- a/webapps/peertube/templates/vhost.conf.j2 +++ b/webapps/peertube/templates/vhost.conf.j2 @@ -206,7 +206,7 @@ server { alias {{ service_home }}/peertube-latest/client/dist/$1; } - location ~ ^(/static/(webseed|web-videos|streaming-playlists)/private/)|^/download { + location ~ ^(/static/(webseed|web-videos|streaming-playlists/hls)/private/)|^/download { # We can't rate limit a try_files directive, so we need to duplicate @api proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;