TVHeadend behind reverse proxy

  • Hej all,

    I want to make tvheadend (running on libreelec 9) accessible from the internet.

    There's an Apache running on a different box with the reverse Proxy pointing to a location /tvheadend

    ProxyPreserveHost On

    Proxypass /tvheadend http://192.168.20.40:9981/tvheadend

    Proxypassreverse /tvheadnend http://192.168.20.40:9981/tvheadend


    Now the final step should be to make TVheadend use a different http_root by adding:

    -f --http_root /tvheadend

    to the calling command or writing

    ARGS="-f --http_root /tvheadend"

    to a config file for the daemon, which I do not find in libreelec.

    How can that be done? Or is there a different idea to make tvheadend usable from outside?

    Thanks and regards,

    Boris

  • Hej Chewitt,

    hej all,

    I'm afraid there is a misunderstanding:

    TVHeadend shall be accessible from the Internet by navigating to

    http://<mydomain>/tvheadend

    So, if TVHeadend is configured with / as its document-root, it will reference continuative links to /. But this is not the right destination.

    Also rewriting is not a choice, because there is a different content in / .

    So, after all, I'm coming back to my original question.....

    Thanks,

    Boris