From a13df19d578d3c5bf8babfc1864e45fbfda98a47 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 8 Jun 2021 10:01:28 +0200 Subject: Increase max image/caption/torrent upload size --- support/nginx/peertube | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'support') diff --git a/support/nginx/peertube b/support/nginx/peertube index 7c95c130c..827a57e93 100644 --- a/support/nginx/peertube +++ b/support/nginx/peertube @@ -99,8 +99,8 @@ server { } location ~ ^/api/v1/(videos|video-playlists|video-channels|users/me) { - client_max_body_size 3M; # default is 1M - add_header X-File-Maximum-Size 2M always; # inform backend of the set value in bytes before mime-encoding (x * 1.4 >= client_max_body_size) + client_max_body_size 6M; # default is 1M + add_header X-File-Maximum-Size 4M always; # inform backend of the set value in bytes before mime-encoding (x * 1.4 >= client_max_body_size) try_files /dev/null @api; } -- cgit v1.2.3