From 15a6a44bfe7e660647492f5c669d9b6882f85cac Mon Sep 17 00:00:00 2001 From: Emanuel Dima Date: Thu, 22 Feb 2018 10:29:24 +0100 Subject: [PATCH 1/2] remove nginx buffering to solve the large download file issue --- nginx/b2share.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/nginx/b2share.conf b/nginx/b2share.conf index 1635ba0..7d682a9 100644 --- a/nginx/b2share.conf +++ b/nginx/b2share.conf @@ -36,6 +36,7 @@ server { location /api/files { proxy_pass http://b2share:5000; proxy_request_buffering off; + proxy_max_temp_file_size 0; client_max_body_size 1000g; } From e5eb424743f33201a3d1783dae3e3003d603227d Mon Sep 17 00:00:00 2001 From: Emanuel Dima Date: Thu, 22 Feb 2018 10:30:33 +0100 Subject: [PATCH 2/2] update b2share image to tag 2.1.1 --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index b7066ba..bd507a5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,7 @@ services: - "5432" b2share: - image: eudatb2share/b2share:2.0.1 + image: eudatb2share/b2share:2.1.1 environment: - "B2ACCESS_CONSUMER_KEY=${B2ACCESS_CONSUMER_KEY}" - "B2ACCESS_SECRET_KEY=${B2ACCESS_SECRET_KEY}"