mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-22 06:13:49 -07:00
kobo sync
This commit is contained in:
parent
92248c030d
commit
c4a46fd6f9
1 changed files with 15 additions and 0 deletions
|
@ -48,3 +48,18 @@ location ^~ /calibre-web/opds/ {
|
||||||
proxy_set_header X-Scheme $scheme;
|
proxy_set_header X-Scheme $scheme;
|
||||||
proxy_set_header X-Script-Name /calibre-web;
|
proxy_set_header X-Script-Name /calibre-web;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# For kobo e-reader sync support
|
||||||
|
# you will need to bypass ^/kobo.* in authentik or authelia if they are used.
|
||||||
|
location ^~ /calibre-web/kobo/ {
|
||||||
|
include /config/nginx/proxy.conf;
|
||||||
|
include /config/nginx/resolver.conf;
|
||||||
|
set $upstream_app calibre-web;
|
||||||
|
set $upstream_port 8083;
|
||||||
|
set $upstream_proto http;
|
||||||
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||||
|
proxy_set_header X-Scheme $scheme;
|
||||||
|
proxy_buffers 4 256k;
|
||||||
|
proxy_busy_buffers_size 256k;
|
||||||
|
proxy_buffer_size 128k;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue