Added Nginx Proxy Manager with Kobo sync.

svh1985 2021-05-27 17:43:06 +02:00
parent 50b2a17afe
commit 56701014ca
1 changed files with 33 additions and 5 deletions

@ -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.<domain>/kobo/<token>`
### Apache 2.4
Apache 2.4 configuration for a local server listening on port 443, mapping Calibre-Web to `/calibre-web`: