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:
commit
95d4f2affe
1 changed files with 19 additions and 8 deletions
|
@ -1,8 +1,19 @@
|
||||||
<VirtualHost *:80>
|
# 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 }}" >
|
#<VirtualHost *:80>
|
||||||
RequestHeader set X-SCRIPT-NAME {{ calibreweb_url }}
|
|
||||||
RequestHeader set X-SCHEME http
|
# Unnec when "/proxy" is added to Proxy* directives further below
|
||||||
ProxyPass http://localhost:{{ calibreweb_port }}/
|
# <Location "{{ calibreweb_url }}" >
|
||||||
ProxyPassReverse http://localhost:{{ calibreweb_port }}/
|
|
||||||
</Location>
|
RequestHeader set X-SCRIPT-NAME {{ calibreweb_url }}
|
||||||
</VirtualHost>
|
|
||||||
|
# Appears unnec:
|
||||||
|
RequestHeader set X-SCHEME http
|
||||||
|
|
||||||
|
ProxyPass /books http://localhost:{{ calibreweb_port }}/
|
||||||
|
|
||||||
|
# Appears unnec:
|
||||||
|
ProxyPassReverse /books http://localhost:{{ calibreweb_port }}/
|
||||||
|
|
||||||
|
# </Location>
|
||||||
|
|
||||||
|
#</VirtualHost>
|
||||||
|
|
Loading…
Reference in a new issue