Skip to content

Commit c4a46fd

Browse files
authored
kobo sync
1 parent 92248c0 commit c4a46fd

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

calibre-web.subfolder.conf.sample

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,18 @@ location ^~ /calibre-web/opds/ {
4848
proxy_set_header X-Scheme $scheme;
4949
proxy_set_header X-Script-Name /calibre-web;
5050
}
51+
52+
# For kobo e-reader sync support
53+
# you will need to bypass ^/kobo.* in authentik or authelia if they are used.
54+
location ^~ /calibre-web/kobo/ {
55+
include /config/nginx/proxy.conf;
56+
include /config/nginx/resolver.conf;
57+
set $upstream_app calibre-web;
58+
set $upstream_port 8083;
59+
set $upstream_proto http;
60+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
61+
proxy_set_header X-Scheme $scheme;
62+
proxy_buffers 4 256k;
63+
proxy_busy_buffers_size 256k;
64+
proxy_buffer_size 128k;
65+
}

0 commit comments

Comments
 (0)