From d795b76c44fbecb1438053a7d636f6fc089c8fa9 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 11 May 2021 08:41:34 +0200 Subject: Fix nginx config --- support/nginx/peertube | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'support') diff --git a/support/nginx/peertube b/support/nginx/peertube index d03f14613..7c95c130c 100644 --- a/support/nginx/peertube +++ b/support/nginx/peertube @@ -79,10 +79,8 @@ server { } location = /api/v1/videos/upload-resumable { - if ($request_method = 'PUT') { - client_max_body_size 0; - proxy_request_buffering off; - } + client_max_body_size 0; + proxy_request_buffering off; try_files /dev/null @api; } -- cgit v1.2.3