Add nginx example to deal with large headers during Kobo sync

mendhak 2023-03-18 11:01:35 +00:00
parent 89ee56eb2f
commit 1bf1f8446e
1 changed files with 9 additions and 1 deletions

@ -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://`