Eric Nemchik 2022-09-08 20:08:24 +00:00
commit 6e4cb5d39c
238 changed files with 1554 additions and 1787 deletions

View file

@ -1,4 +1,4 @@
## Version 2021/05/18
## Version 2022/09/08
# calibre-web does not require a base url setting
location /calibre-web {
@ -10,15 +10,14 @@ location ^~ /calibre-web/ {
#auth_basic "Restricted";
#auth_basic_user_file /config/nginx/.htpasswd;
# enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf
#auth_request /auth;
#error_page 401 =200 /ldaplogin;
# enable for ldap auth (requires ldap-server.conf in the server block)
#include /config/nginx/ldap-location.conf;
# enable for Authelia, also enable authelia-server.conf in the default site config
# To use Authelia to log in to Calibre-Web, make sure "Reverse Proxy Login" is
# enable for Authelia (requires authelia-server.conf in the server block)
#include /config/nginx/authelia-location.conf;
# To use Authelia to log in to Calibre-Web, make sure "Reverse Proxy Login" is
# enabled, "Reverse Proxy Header Name" is set to Remote-User, and each Authelia
# user also has a corresponding user manually created in Calibre-Web.
#include /config/nginx/authelia-location.conf;
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
@ -33,7 +32,7 @@ location ^~ /calibre-web/ {
# OPDS feed for eBook reader apps
# Even if you use Authelia, the OPDS feed requires a password to be set for
# the user directly in Calibre-Web, as eBook reader apps don't support
# the user directly in Calibre-Web, as eBook reader apps don't support
# form-based logins, only HTTP Basic auth.
location ^~ /calibre-web/opds/ {
include /config/nginx/proxy.conf;