From c125644d3dced66696841f973d2426a0ff3119bd Mon Sep 17 00:00:00 2001 From: notarobot63 <51323017+notarobot63@users.noreply.github.com> Date: Mon, 3 Jun 2019 13:34:54 +0200 Subject: [PATCH 1/2] Update nginx.conf PR to allow upload of bigger torrent files On files >1M you got the "Entity too large" nginx error This can be fixed by using : client_max_body_size 8M; --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 3466fee..d270ffb 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,6 +1,6 @@ location __PATH__/transmission { proxy_pass http://127.0.0.1:__PORT____PATH__/transmission; - + client_max_body_size 8M; # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; more_clear_input_headers 'Accept-Encoding'; From ac872f2ea52bb71d9bb78cbc767fa1d7bc12f321 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Mon, 3 Jun 2019 16:01:40 +0200 Subject: [PATCH 2/2] Update nginx.conf --- conf/nginx.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index d270ffb..caacf71 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,6 +1,8 @@ location __PATH__/transmission { proxy_pass http://127.0.0.1:__PORT____PATH__/transmission; + client_max_body_size 8M; + # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; more_clear_input_headers 'Accept-Encoding';