aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'support/nginx')
-rw-r--r--support/nginx/peertube4
1 files changed, 4 insertions, 0 deletions
diff --git a/support/nginx/peertube b/support/nginx/peertube
index f6f754b58..cf200ba00 100644
--- a/support/nginx/peertube
+++ b/support/nginx/peertube
@@ -214,6 +214,10 @@ server {
214 try_files $uri @api; 214 try_files $uri @api;
215 } 215 }
216 216
217 location ~ ^/static/(webseed|streaming-playlists)/private/ {
218 try_files /dev/null @api;
219 }
220
217 # Bypass PeerTube for performance reasons. Optional. 221 # Bypass PeerTube for performance reasons. Optional.
218 location ~ ^/static/(webseed|redundancy|streaming-playlists)/ { 222 location ~ ^/static/(webseed|redundancy|streaming-playlists)/ {
219 limit_rate_after 5M; 223 limit_rate_after 5M;