From e7fbdb823f8fd6f5cbe8d5af6c9ba4ad1f357feb Mon Sep 17 00:00:00 2001 From: Jens Diemer Date: Mon, 3 Oct 2022 16:37:47 +0200 Subject: [PATCH] Update nginx.conf Set client_max_body_size to 5MB to fix #6 See "chunkSize" in https://github.com/psi-4ward/psitransfer/blob/master/app/src/Upload/store/upload.js --- conf/nginx.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index a5f3122..97d9d45 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -6,7 +6,10 @@ location __PATH__/ { proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection upgrade; - + + # Must be at least as large as the chunk size of PsiTransfer. + client_max_body_size 5M; + # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; }