mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-21 05:43:45 -07:00
Add kobo specific location matching for Calibre-web confs
This commit is contained in:
parent
e0e4e4966c
commit
db5c710a2b
2 changed files with 26 additions and 1 deletions
|
@ -48,3 +48,16 @@ location ^~ /calibre-web/opds/ {
|
|||
proxy_set_header X-Scheme $scheme;
|
||||
proxy_set_header X-Script-Name /calibre-web;
|
||||
}
|
||||
|
||||
# Feed for Kobo
|
||||
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_set_header X-Script-Name /calibre-web;
|
||||
proxy_buffer_size 32k;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue