From ccbee28746a4c46d66525cc8aae8fa99fcc34a08 Mon Sep 17 00:00:00 2001 From: A Holt Date: Sat, 13 Oct 2018 22:05:48 -0400 Subject: [PATCH] Update calibre-web.conf.j2 --- roles/calibre-web/templates/calibre-web.conf.j2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/calibre-web/templates/calibre-web.conf.j2 b/roles/calibre-web/templates/calibre-web.conf.j2 index a5efcabe9..052cc66ce 100644 --- a/roles/calibre-web/templates/calibre-web.conf.j2 +++ b/roles/calibre-web/templates/calibre-web.conf.j2 @@ -1,7 +1,7 @@ -# Used to work (in August 2018) but prevented http://box/books from working (in October 2018, https://github.com/iiab/iiab/issues/1196) +# Line used to work (in August 2018) but prevented http://box/books from working in October 2018: https://github.com/iiab/iiab/issues/1196 # -# Unnec when "/proxy" is added to Proxy* directives further below +# Unnec when "{{ calibreweb_url }}" is added to Proxy* directive(s) further below # RequestHeader set X-SCRIPT-NAME {{ calibreweb_url }} @@ -9,10 +9,10 @@ RequestHeader set X-SCRIPT-NAME {{ calibreweb_url }} # Appears unnec: RequestHeader set X-SCHEME http -ProxyPass /books http://localhost:{{ calibreweb_port }}/ +ProxyPass {{ calibreweb_url }} http://localhost:{{ calibreweb_port }}/ # Appears unnec: -ProxyPassReverse /books http://localhost:{{ calibreweb_port }}/ +ProxyPassReverse {{ calibreweb_url }} http://localhost:{{ calibreweb_port }}/ #