diff --git a/nginx/peertube.conf b/nginx/peertube.conf index 8942afe..57fbe4d 100644 --- a/nginx/peertube.conf +++ b/nginx/peertube.conf @@ -36,6 +36,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; }