mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update kiwix.conf.j2
This commit is contained in:
parent
ec9cefc87d
commit
812d326873
1 changed files with 5 additions and 0 deletions
|
@ -8,4 +8,9 @@ RedirectMatch ^{{ kiwix_alias_url }}$ {{ kiwix_url }}
|
|||
# 2018-08-31: SUCCEEDS in enabling http://box/kiwix/ & http://box/kiwix/zim & http://box/kiwix/zim/
|
||||
#ProxyPreserveHost On
|
||||
ProxyPass {{ kiwix_url }} http://127.0.0.1:{{ kiwix_port}}{{ kiwix_url }}
|
||||
|
||||
# CLARIF: ProxyPassReverse rewrites internal links, that come back from proxy.
|
||||
# Whereas e.g. calibre-web.conf (and many others) use this, kiwix.conf doesn't
|
||||
# as kiwix itself prefixes URLs, thanks to --urlRootLocation=/kiwix/ in kiwix's
|
||||
# systemd file arising from roles/kiwix/templates/kiwix-serve.service.j2
|
||||
#ProxyPassReverse {{ kiwix_url }} http://127.0.0.1:{{ kiwix_port}}{{ kiwix_url }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue