Skip to content

Commit

Permalink
Merge pull request #728 from linuxserver/kobo_changes
Browse files Browse the repository at this point in the history
for subfolder too... i guess they exist
  • Loading branch information
drizuid authored Jan 1, 2025
2 parents ecf28da + b852188 commit 8625ed9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions calibre-web.subdomain.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,15 @@ server {

# Feed for Kobo
location /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-Forwarded-Host $http_host;
proxy_set_header X-Scheme $scheme;
proxy_buffer_size 32k;
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
}
}
5 changes: 3 additions & 2 deletions calibre-web.subfolder.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,14 @@ location ^~ /calibre-web/opds/ {

# 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;
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
}

0 comments on commit 8625ed9

Please sign in to comment.