# SEE ALSO: https://github.com/janeczku/calibre-web/wiki/Setup-Reverse-Proxy # Line used to work (in August 2018) but prevented http://box/books from working in October 2018: https://github.com/iiab/iiab/issues/1196 # # Unnec when "{{ calibreweb_url }}" is added to Proxy* directive(s) further below # RequestHeader set X-SCRIPT-NAME {{ calibreweb_url }} # Appears unnec: RequestHeader set X-SCHEME http ProxyPass {{ calibreweb_url }} 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 }}/ # #