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

Update calibre-web.conf.j2

This commit is contained in:
A Holt 2018-10-10 20:32:53 -04:00 committed by GitHub
parent 5ae34b8739
commit 211ededa1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,8 @@
#<VirtualHost *:80> # This line (which used to work) prevented http://box/books from working as of October 2018 (https://github.com/iiab/iiab/issues/1196)
# <Location "{{ calibreweb_url }}" > # This line appears unnecessary
# <Location "{{ calibreweb_url }}" > # Line unnec when "/proxy" added to Proxy* directives below
RequestHeader set X-SCRIPT-NAME {{ calibreweb_url }}
RequestHeader set X-SCHEME http
ProxyPass http://localhost:{{ calibreweb_port }}/
ProxyPassReverse http://localhost:{{ calibreweb_port }}/
RequestHeader set X-SCHEME http # Line unnec?
ProxyPass /books http://localhost:{{ calibreweb_port }}/
ProxyPassReverse /books http://localhost:{{ calibreweb_port }}/ # Line unnec?
# </Location>
#</VirtualHost>