From b95d815d36bc37b959e0d1f9fbd7561b6d2d592b Mon Sep 17 00:00:00 2001 From: RBXII3 <22587474+psharma04@users.noreply.github.com> Date: Wed, 3 Feb 2021 09:48:07 +1100 Subject: [PATCH 1/2] Remove upload size from README Limitations Yunohost install used the Tornado server which limits the upload size of a single file to 200Mo. 0.6.10 has moved to Gevent, which removes this limitation. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c817c86..a429963 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ chmod o+rw path/to/library * Do not use a Nextcloud folder. It's all right if the folder is an external storage in Nextcloud but not if it's an internal one : Changing the data in the library will cause trouble with the sync * "Magic link feature is not yet available * Change to library made outside calibreweb are not automatically updated in calibreweb. It is required to disconnect and reconnect to see the changes : Do not open a database both in calibre & calibreweb! -* Yunohost install use the Tornado server which limits the upload size of a single file to 200Mo. + ## Links From a519f629efa4d63de457158c0b1ffd0e38c8e306 Mon Sep 17 00:00:00 2001 From: Krakinou Date: Wed, 3 Feb 2021 21:18:42 +0100 Subject: [PATCH 2/2] Remove 200Mo Limit from nginx config --- conf/nginx.conf | 1 - 1 file changed, 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 73b2aa6..7981d6a 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,5 +1,4 @@ location __PATH__ { - client_max_body_size 200M; # Force usage of https if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent;