Skip to content

tvhgo behind a reverse proxy - URL rewriting #1087

Description

@mx5gr

I am using Cloudflare Zero Access tunnel to proxy out my TV Headend installation (e.g. https://tvh.mysite.com) and tvhgo (e.g. https://tvhgo.mysite.com).

This setup works perfectly, but requires two different URLs, one for each service.

I tried to publish the tvhgo under TV Headend, under a subfolder (e.g. https://tvh.mysite.com/tvhgo/) but althouth Cloudflare redirects the request to the correct origin server (i.e. the tvhgo installation), the tvhgo application expects to find endpoints that do not longer exist.. for example, the /login endpoint is now /tvhgo/login .

How can we perform such a URL rewrite in tvhgo?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions