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?
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?