From 1bf1f8446e7405f20fa2b36450b9736092b1dee3 Mon Sep 17 00:00:00 2001 From: mendhak Date: Sat, 18 Mar 2023 11:01:35 +0000 Subject: [PATCH] Add nginx example to deal with large headers during Kobo sync --- Kobo-Integration.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Kobo-Integration.md b/Kobo-Integration.md index 96ea6c9..ef543e0 100644 --- a/Kobo-Integration.md +++ b/Kobo-Integration.md @@ -97,6 +97,14 @@ It's also a good idea to activate the access log in your Calibre-Web instance to ## Additional hints -The HTTP header using the kobo sync is quite large. With some reverse proxys in between the header can be too large to sync. In this case please increase the allowed max. header size in your proxy config. +The HTTP headers using Kobo sync is quite large. With some reverse proxies in between, the header can be too large to sync. In this case please increase the allowed maximum header size in your proxy config. + +Nginx example: + +``` +proxy_busy_buffers_size 1024k; +proxy_buffers 4 512k; +proxy_buffer_size 1024k; +``` If you are using a reverse proxy you may have to change the `api_endpoint` link to `https://` instead of `http://` \ No newline at end of file