Wondering if anyone can help me out or point me toward some docs.

I currently have a DNS name from cloudflare host.xyz that uses zerotrust to proxy requests off to my Caddy instance which in-turn does a reverse proxy to a couple of self-hosted apps. For example, I have an apache webserver, navidrome server, and a dokuwiki running in docker containers. This is all working as I can, for example, access https://notes.host.xyz and access my dokuwiki page.

I am looking to ditch the zerotrust tier and wanting to use tailscale to do this but I am confused about the setup needed. I have configured tailscale on the pi and run the tailscale funnel command so that I can successfully access a http server running directly on the pi. But, how do I configure tailscale (and the funnel I suspect) to route traffic to the Caddy server which will reverse proxy the requests to the correct docker container?

For example, I want to access https://notes.tailxxxx.ts.net from the internet and have that pull up my dokuwiki site.

Any help would be appreciated.