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

Merge pull request #1223 from holta/calibre-web-url-fix

Clean up calibre-web.conf.j2 for http://box/books
This commit is contained in:
A Holt 2018-10-13 22:08:45 -04:00 committed by GitHub
commit 9269a15e84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
#<VirtualHost *:80>
# Unnec when "/proxy" is added to Proxy* directives further below
# Unnec when "{{ calibreweb_url }}" is added to Proxy* directive(s) further below
# <Location "{{ calibreweb_url }}" >
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 }}/
# </Location>