mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #1223 from holta/calibre-web-url-fix
Clean up calibre-web.conf.j2 for http://box/books
This commit is contained in:
commit
9269a15e84
1 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Used to work (in August 2018) but prevented http://box/books from working (in October 2018, https://github.com/iiab/iiab/issues/1196)
|
# 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>
|
#<VirtualHost *:80>
|
||||||
|
|
||||||
# Unnec when "/proxy" is added to Proxy* directives further below
|
# Unnec when "{{ calibreweb_url }}" is added to Proxy* directive(s) further below
|
||||||
# <Location "{{ calibreweb_url }}" >
|
# <Location "{{ calibreweb_url }}" >
|
||||||
|
|
||||||
RequestHeader set X-SCRIPT-NAME {{ calibreweb_url }}
|
RequestHeader set X-SCRIPT-NAME {{ calibreweb_url }}
|
||||||
|
@ -9,10 +9,10 @@ RequestHeader set X-SCRIPT-NAME {{ calibreweb_url }}
|
||||||
# Appears unnec:
|
# Appears unnec:
|
||||||
RequestHeader set X-SCHEME http
|
RequestHeader set X-SCHEME http
|
||||||
|
|
||||||
ProxyPass /books http://localhost:{{ calibreweb_port }}/
|
ProxyPass {{ calibreweb_url }} http://localhost:{{ calibreweb_port }}/
|
||||||
|
|
||||||
# Appears unnec:
|
# Appears unnec:
|
||||||
ProxyPassReverse /books http://localhost:{{ calibreweb_port }}/
|
ProxyPassReverse {{ calibreweb_url }} http://localhost:{{ calibreweb_port }}/
|
||||||
|
|
||||||
# </Location>
|
# </Location>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue