2018-10-14 02:05:48 +00:00
|
|
|
# Line used to work (in August 2018) but prevented http://box/books from working in October 2018: https://github.com/iiab/iiab/issues/1196
|
2018-10-11 00:44:08 +00:00
|
|
|
#<VirtualHost *:80>
|
|
|
|
|
2018-10-14 02:05:48 +00:00
|
|
|
# Unnec when "{{ calibreweb_url }}" is added to Proxy* directive(s) further below
|
2018-10-11 00:44:08 +00:00
|
|
|
# <Location "{{ calibreweb_url }}" >
|
|
|
|
|
2018-10-11 00:19:22 +00:00
|
|
|
RequestHeader set X-SCRIPT-NAME {{ calibreweb_url }}
|
2018-10-11 00:44:08 +00:00
|
|
|
|
|
|
|
# Appears unnec:
|
|
|
|
RequestHeader set X-SCHEME http
|
|
|
|
|
2018-10-14 02:05:48 +00:00
|
|
|
ProxyPass {{ calibreweb_url }} http://localhost:{{ calibreweb_port }}/
|
2018-10-11 00:44:08 +00:00
|
|
|
|
|
|
|
# Appears unnec:
|
2018-10-14 02:05:48 +00:00
|
|
|
ProxyPassReverse {{ calibreweb_url }} http://localhost:{{ calibreweb_port }}/
|
2018-10-11 00:44:08 +00:00
|
|
|
|
2018-10-11 00:19:22 +00:00
|
|
|
# </Location>
|
2018-10-11 00:44:08 +00:00
|
|
|
|
2018-10-11 00:19:22 +00:00
|
|
|
#</VirtualHost>
|