1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Update calibre-web.conf.j2

This commit is contained in:
A Holt 2018-10-10 20:44:08 -04:00 committed by GitHub
parent 211ededa1c
commit 2be51541cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,19 @@
#<VirtualHost *:80> # This line (which used to work) prevented http://box/books from working as of October 2018 (https://github.com/iiab/iiab/issues/1196) # Used to work (in August 2018) but prevented http://box/books from working (in October 2018, https://github.com/iiab/iiab/issues/1196)
# <Location "{{ calibreweb_url }}" > # Line unnec when "/proxy" added to Proxy* directives below #<VirtualHost *:80>
# Unnec when "/proxy" is added to Proxy* directives further below
# <Location "{{ calibreweb_url }}" >
RequestHeader set X-SCRIPT-NAME {{ calibreweb_url }} 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 }}/ ProxyPass /books http://localhost:{{ calibreweb_port }}/
ProxyPassReverse /books http://localhost:{{ calibreweb_port }}/ # Line unnec?
# Appears unnec:
ProxyPassReverse /books http://localhost:{{ calibreweb_port }}/
# </Location> # </Location>
#</VirtualHost> #</VirtualHost>