From 4afe5c3d1f7264ac02d21b10d51ee79c523bed5d Mon Sep 17 00:00:00 2001 From: Krakinou Date: Sat, 29 May 2021 13:50:07 +0200 Subject: [PATCH] client max body size = 500M --- conf/nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 7981d6a..e0329b4 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -3,6 +3,10 @@ location __PATH__ { if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent; } + #Client max body size to allow upload of ebook. + #big number as audiobook may be quite big + client_max_body_size 500M; + #Proxy buffering is required for Kobo sync on large library proxy_busy_buffers_size 512k; proxy_buffers 4 512k;