Skip to content

Commit 92248c0

Browse files
authored
support kobo
1 parent 1ce1eab commit 92248c0

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

calibre-web.subdomain.conf.sample

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,19 @@ server {
6161
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
6262
proxy_set_header X-Scheme $scheme;
6363
}
64+
65+
# For kobo e-reader sync support
66+
# you will need to bypass ^/kobo.* in authentik or authelia if they are used.
67+
location /kobo {
68+
include /config/nginx/proxy.conf;
69+
include /config/nginx/resolver.conf;
70+
set $upstream_app calibre-web;
71+
set $upstream_port 8083;
72+
set $upstream_proto http;
73+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
74+
proxy_set_header X-Scheme $scheme;
75+
proxy_buffers 4 256k;
76+
proxy_busy_buffers_size 256k;
77+
proxy_buffer_size 128k;
78+
}
6479
}

0 commit comments

Comments
 (0)