diff --git a/support/nginx/peertube b/support/nginx/peertube index 385acac24..d03f14613 100644 --- a/support/nginx/peertube +++ b/support/nginx/peertube @@ -79,8 +79,10 @@ server { } location = /api/v1/videos/upload-resumable { - client_max_body_size 0; - proxy_request_buffering off; + if ($request_method = 'PUT') { + client_max_body_size 0; + proxy_request_buffering off; + } try_files /dev/null @api; }