diff --git a/roles/calibre-web/templates/calibre-web.conf.j2 b/roles/calibre-web/templates/calibre-web.conf.j2 index f15f0692d..a5efcabe9 100644 --- a/roles/calibre-web/templates/calibre-web.conf.j2 +++ b/roles/calibre-web/templates/calibre-web.conf.j2 @@ -1,8 +1,19 @@ -# # This line (which used to work) prevented http://box/books from working as of October 2018 (https://github.com/iiab/iiab/issues/1196) -# # Line unnec when "/proxy" added to Proxy* directives below +# 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 +# + RequestHeader set X-SCRIPT-NAME {{ calibreweb_url }} -RequestHeader set X-SCHEME http # Line unnec? + +# Appears unnec: +RequestHeader set X-SCHEME http + ProxyPass /books http://localhost:{{ calibreweb_port }}/ -ProxyPassReverse /books http://localhost:{{ calibreweb_port }}/ # Line unnec? + +# Appears unnec: +ProxyPassReverse /books http://localhost:{{ calibreweb_port }}/ + # + #