I did similar with caddy.
I own a domain and my server runs pihole and it is configured as DNS server.
So what I did was setup caddy to create local subdomains that are only reachable through my network.
For example:
subdomain.mydomain.com , that works only from home. It works with ssl as well
That works. I did it with a LG tv:
Have a server advertising the routes with tailscale and in your tv when you configure the connection select that server as gateway and that’s it.
I did similar with caddy. I own a domain and my server runs pihole and it is configured as DNS server. So what I did was setup caddy to create local subdomains that are only reachable through my network. For example: subdomain.mydomain.com , that works only from home. It works with ssl as well