Browse Source

Update nginx template to support user import

Chocobozzz 2 months ago
parent
commit
35f0bb14be
1 changed files with 7 additions and 0 deletions
  1. 7 0
      support/nginx/peertube

+ 7 - 0
support/nginx/peertube

@@ -85,6 +85,13 @@ server {
     try_files /dev/null @api;
   }
 
+  location ~ ^/api/v1/users/[^/]+/imports/import-resumable$ {
+    client_max_body_size    0;
+    proxy_request_buffering off;
+
+    try_files /dev/null @api;
+  }
+
   location ~ ^/api/v1/videos/(upload|([^/]+/studio/edit))$ {
     limit_except POST HEAD { deny all; }