From ec9cefc87def5653d31032d99c40c7bd37305a7a Mon Sep 17 00:00:00 2001 From: A Holt Date: Fri, 19 Oct 2018 11:14:21 -0400 Subject: [PATCH] Update calibre-web.conf.j2 --- roles/calibre-web/templates/calibre-web.conf.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/calibre-web/templates/calibre-web.conf.j2 b/roles/calibre-web/templates/calibre-web.conf.j2 index 052cc66ce..a4fb4ee37 100644 --- a/roles/calibre-web/templates/calibre-web.conf.j2 +++ b/roles/calibre-web/templates/calibre-web.conf.j2 @@ -11,7 +11,9 @@ RequestHeader set X-SCHEME http ProxyPass {{ calibreweb_url }} http://localhost:{{ calibreweb_port }}/ -# Appears unnec: +# Possibly unnec? (ProxyPassReverse rewrites internal links, that come back +# from proxy! Whereas e.g. kiwix.conf doesn't need this, as kiwix itself +# prefixes URLs, thanks to --urlRootLocation=/kiwix/ in its systemd file.) ProxyPassReverse {{ calibreweb_url }} http://localhost:{{ calibreweb_port }}/ #