From 1eaf9c53d37f8c97e736d6b69196933051432085 Mon Sep 17 00:00:00 2001 From: Marcus Mann Date: Wed, 28 Dec 2022 13:17:20 -0500 Subject: [PATCH] Fix Kobo Sync Kobo Sync doesn't work unless the proxy buffer sizes are increased. The values/fix were pulled from here: https://github.com/janeczku/calibre-web/issues/1891#issuecomment-801886803 --- scripts/nginx/calibreweb.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/nginx/calibreweb.sh b/scripts/nginx/calibreweb.sh index 11f34f793..6ab3f67dd 100755 --- a/scripts/nginx/calibreweb.sh +++ b/scripts/nginx/calibreweb.sh @@ -7,6 +7,11 @@ location /calibreweb { proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; proxy_set_header X-Scheme \$scheme; proxy_set_header X-Script-Name /calibreweb; # IMPORTANT: path has NO trailing slash + + # Add Kobo Support. See https://github.com/janeczku/calibre-web/issues/1891#issuecomment-801886803 + proxy_buffer_size 128k; + proxy_buffers 4 256k; + proxy_busy_buffers_size 256k; } EOF