Skip to content

Calibre-Web http://box/books used to work across OS's (for http://localhost:8083) #1196

@holta

Description

@holta

http://box/books used to work across OS's, thanks to:

https://github.com/iiab/iiab/blob/master/roles/calibre-web/templates/calibre-web.conf.j2

http://box:8083 works on both Ubuntu 18.04 and Raspbian Lite — and yet in both cases http://box/books now fails. FWIW underlying files appearing correct? On all HW/OS's (working such as RPi 3 and non-working such as RPi 3 B+'s and Ubuntu machines) underlying files appear as follows:

root@box:~# ls -l /etc/apache2/*/calibre-web.conf
-rw-r--r-- 1 root www-data 251 Oct  8 20:13 /etc/apache2/sites-available/calibre-web.conf
lrwxrwxrwx 1 root root      35 Oct  8 20:13 /etc/apache2/sites-enabled/calibre-web.conf -> ../sites-available/calibre-web.conf

root@box:~# more /etc/apache2/sites-available/calibre-web.conf
<VirtualHost *:80>
    <Location "/books" >
        RequestHeader set X-SCRIPT-NAME /books
        RequestHeader set X-SCHEME http
        ProxyPass http://localhost:8083/
        ProxyPassReverse http://localhost:8083/
    </Location>
</VirtualHost>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions