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 }}/ #