1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
iiab/roles/calibre-web/templates/calibre-web.conf.j2
2018-10-13 22:05:48 -04:00

19 lines
589 B
Django/Jinja

# 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 "{{ calibreweb_url }}" is added to Proxy* directive(s) further below
# <Location "{{ calibreweb_url }}" >
RequestHeader set X-SCRIPT-NAME {{ calibreweb_url }}
# Appears unnec:
RequestHeader set X-SCHEME http
ProxyPass {{ calibreweb_url }} http://localhost:{{ calibreweb_port }}/
# Appears unnec:
ProxyPassReverse {{ calibreweb_url }} http://localhost:{{ calibreweb_port }}/
# </Location>
#</VirtualHost>