Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Update nginx template to support user import

Chocobozzz35f0bb14be8a
diff --git a/support/nginx/peertube b/support/nginx/peertube
index ba4388883c..34697fdc5f 100644
--- a/support/nginx/peertube
+++ b/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; }