mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Try 3 URL's (for 3 langs) in calibre-web.conf.j2
This commit is contained in:
parent
c0c22db318
commit
4322c39f8f
1 changed files with 8 additions and 3 deletions
|
@ -6,17 +6,22 @@
|
|||
# Unnec when "{{ calibreweb_url }}" is added to Proxy* directive(s) further below
|
||||
# <Location "{{ calibreweb_url }}" >
|
||||
|
||||
# 2019-07-14: this line remains necessary (page barely renders without it!)
|
||||
RequestHeader set X-SCRIPT-NAME {{ calibreweb_url }}
|
||||
|
||||
# Appears unnec:
|
||||
RequestHeader set X-SCHEME http
|
||||
#RequestHeader set X-SCHEME http
|
||||
|
||||
ProxyPass {{ calibreweb_url }} http://localhost:{{ calibreweb_port }}/
|
||||
ProxyPass {{ calibreweb_url1 }} http://localhost:{{ calibreweb_port }}/
|
||||
ProxyPass {{ calibreweb_url2 }} http://localhost:{{ calibreweb_port }}/
|
||||
ProxyPass {{ calibreweb_url3 }} http://localhost:{{ calibreweb_port }}/
|
||||
|
||||
# Possibly unnec? (ProxyPassReverse rewrites internal links, that come back
|
||||
# from Apache proxy. Whereas e.g. kiwix.conf doesn't need this, as kiwix itself
|
||||
# prefixes URLs, thanks to --urlRootLocation=/kiwix/ in its systemd file.)
|
||||
ProxyPassReverse {{ calibreweb_url }} http://localhost:{{ calibreweb_port }}/
|
||||
ProxyPassReverse {{ calibreweb_url1 }} http://localhost:{{ calibreweb_port }}/
|
||||
ProxyPassReverse {{ calibreweb_url2 }} http://localhost:{{ calibreweb_port }}/
|
||||
ProxyPassReverse {{ calibreweb_url3 }} http://localhost:{{ calibreweb_port }}/
|
||||
|
||||
# </Location>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue