1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

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

Proposed fix to http://box/books for Calibre-Web
This commit is contained in:
A Holt 2018-10-10 20:48:30 -04:00 committed by GitHub
commit 95d4f2affe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,19 @@
<VirtualHost *:80>
<Location "{{ calibreweb_url }}" >
RequestHeader set X-SCRIPT-NAME {{ calibreweb_url }}
RequestHeader set X-SCHEME http
ProxyPass http://localhost:{{ calibreweb_port }}/
ProxyPassReverse http://localhost:{{ calibreweb_port }}/
</Location>
</VirtualHost>
# 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
# <Location "{{ calibreweb_url }}" >
RequestHeader set X-SCRIPT-NAME {{ calibreweb_url }}
# Appears unnec:
RequestHeader set X-SCHEME http
ProxyPass /books http://localhost:{{ calibreweb_port }}/
# Appears unnec:
ProxyPassReverse /books http://localhost:{{ calibreweb_port }}/
# </Location>
#</VirtualHost>