Skip to content

Commit

Permalink
Fix Kobo Sync
Browse files Browse the repository at this point in the history
Kobo Sync doesn't work unless the proxy buffer sizes are increased. The values/fix were pulled from here: janeczku/calibre-web#1891 (comment)
  • Loading branch information
Marcus Mann authored Dec 28, 2022
1 parent c58430e commit 1eaf9c5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/nginx/calibreweb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1eaf9c5

Please sign in to comment.