From 56701014ca50fd9381f914cd67e57e273130d336 Mon Sep 17 00:00:00 2001 From: svh1985 Date: Thu, 27 May 2021 17:43:06 +0200 Subject: [PATCH] Added Nginx Proxy Manager with Kobo sync. --- Setup-Reverse-Proxy.md | 38 +++++++++++++++++++++++++++++++++----- 1 file changed, 33 insertions(+), 5 deletions(-) diff --git a/Setup-Reverse-Proxy.md b/Setup-Reverse-Proxy.md index bf0108b..9f224b6 100644 --- a/Setup-Reverse-Proxy.md +++ b/Setup-Reverse-Proxy.md @@ -10,11 +10,12 @@ In the admin configuration, check the box marked `Allow Reverse Proxy Authentica ### Table of contents 1. [nginx](https://github.com/janeczku/calibre-web/wiki/Setup-Reverse-Proxy#nginx) -2. [Apache 2.4](https://github.com/janeczku/calibre-web/wiki/Setup-Reverse-Proxy#apache-24) -3. [Internet Information Service IIS 10](https://github.com/janeczku/calibre-web/wiki/Setup-Reverse-Proxy#internet-information-service-iis-10) -4. [Lighttpd 1.4](https://github.com/janeczku/calibre-web/wiki/Setup-Reverse-Proxy#lighttpd-14) -5. [Traefik 2.0](https://github.com/janeczku/calibre-web/wiki/Setup-Reverse-Proxy#traefik-200) -6. [Traefik >= 2.4.1 with Authelia forward auth](https://github.com/janeczku/calibre-web/wiki/Setup-Reverse-Proxy/#traefik--241-with-authelia-forward-auth) +2. [Nginx Proxy Manager](https://github.com/janeczku/calibre-web/wiki/Setup-Reverse-Proxy#nginx-proxy-manager) +3. [Apache 2.4](https://github.com/janeczku/calibre-web/wiki/Setup-Reverse-Proxy#apache-24) +4. [Internet Information Service IIS 10](https://github.com/janeczku/calibre-web/wiki/Setup-Reverse-Proxy#internet-information-service-iis-10) +5. [Lighttpd 1.4](https://github.com/janeczku/calibre-web/wiki/Setup-Reverse-Proxy#lighttpd-14) +6. [Traefik 2.0](https://github.com/janeczku/calibre-web/wiki/Setup-Reverse-Proxy#traefik-200) +7. [Traefik >= 2.4.1 with Authelia forward auth](https://github.com/janeczku/calibre-web/wiki/Setup-Reverse-Proxy/#traefik--241-with-authelia-forward-auth) @@ -46,6 +47,33 @@ The `X-Scheme` directive is used to preserve the protocol (http/https), it could proxy_redirect http://$host/ https://$host:12345/; ``` +### Nginx Proxy Manager + +Credits to @norangebit see issue [1891](https://github.com/janeczku/calibre-web/issues/1891) + +In Nginx Proxy Manager create a new proxy host for calibre-web. +You can enable force SSL, HSTS and Block Common Exploits without any problems. +Go to advanced tab and enter the following parameters: +``` +proxy_buffer_size 128k; +proxy_buffers 4 256k; +proxy_busy_buffers_size 256k; +``` + + +**Optional Kobo sync support** + +Calibre-web +1. Go to admin setting in and enable Kobo sync. +2. Set Server External Port to 80. +3. If the port is set to 443, it is not possible to fetch covers. +4. Go to your profile page, enable Kobo sync and copy the api endpoint. + +Kobo + +Open .kobo/Kobo eReader.conf file in a text editor end edit your api endpoint. Make sure you use HTTPS and not HTTP. +This is an example of a correct line: `api_endpoint=https://books./kobo/` + ### Apache 2.4 Apache 2.4 configuration for a local server listening on port 443, mapping Calibre-Web to `/calibre-web`: