From c979fab081921d5a3df831f45b1394d7f55c29fc Mon Sep 17 00:00:00 2001 From: Florent Date: Thu, 19 Aug 2021 23:08:07 +0200 Subject: [PATCH 1/2] Increase max upload size in nginx --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 94f01fd..7acd1e7 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -43,8 +43,8 @@ location = /api/v1/videos/upload { # Note that temporary space is needed equal to the total size of all concurrent uploads. # This data gets stored in /var/lib/nginx by default, so you may want to put this directory # on a dedicated filesystem. - client_max_body_size 12G; # default is 1M - more_set_headers "X-File-Maximum-Size : 8G always"; # inform backend of the set value in bytes before mime-encoding (x * 1.4 >= client_max_body_size) + client_max_body_size 24G; # default is 1M + more_set_headers "X-File-Maximum-Size : 16G always"; # inform backend of the set value in bytes before mime-encoding (x * 1.4 >= client_max_body_size) try_files /dev/null @api; } From be87cf80c0bd2de6de98d1bd1cd8655720c1850e Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 25 Aug 2021 20:13:27 +0200 Subject: [PATCH 2/2] Upgrade to 3.3.0~ynh3 --- check_process | 4 ++++ manifest.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/check_process b/check_process index 1996e29..548c20e 100644 --- a/check_process +++ b/check_process @@ -18,6 +18,8 @@ upgrade=1 from_commit=08bf3fce3ad99e27e7f7d251838a9f9c63243e44 # 3.3.0~ynh2 upgrade=1 from_commit=f3bb02002c8fa28748744302475139b6fcf7c651 + # 3.3.0~ynh3 + upgrade=1 from_commit=ed59a268e93910f8b35b0f87399f91b8cad9ede0 backup_restore=1 multi_instance=0 port_already_use=0 @@ -32,3 +34,5 @@ Notification=yes name=3.2.1~ynh4 ; commit=f3bb02002c8fa28748744302475139b6fcf7c651 name=3.3.0~ynh2 + ; commit=ed59a268e93910f8b35b0f87399f91b8cad9ede0 + name=3.3.0~ynh3 diff --git a/manifest.json b/manifest.json index dbd69db..61d69b9 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Video streaming platform using P2P directly in the web browser, connected to a federated network", "fr": "Plateforme de diffusion vidéo par P2P directement dans le navigateur, et connectée à un réseau fédéralisé" }, - "version": "3.3.0~ynh3", + "version": "3.3.0~ynh4", "url": "https://github.com/Chocobozzz/PeerTube", "upstream": { "license": "AGPL-3.0-only",