has anyone managed to get caddy working on tailscale serve because i cant and i have no idea what any of the errors mean
its complaining about tls errors… it should automatically grab the cert… i gave it permission

@silly i make tailscale do the ssl because im lazy

tailscale serve --service=svc:whateversubdomainiwant --https=443 http://localhost:4180

@avery i want multiple services on the same host though… or should i just separate them into containers
@silly that should work with this setup!
you can either just swap the "svc:name" part and change the localhost:port for each service,
oor pick one localhost:port where you're running Caddy with TLS/DNS stuff disabled, and configure a different server block for each service subdomain (still need to rerun the tailscale serve command for each to actually create the DNS records and do the SSL magic)
@silly the latter one only really makes sense if you need any of caddys features - for plain reverse proxy it doesnt really add anything imo
@avery no i dont, i just need
“service1.device.tailnet.ts.net” and “service2.device.tailnet.ts.net” etc
@avery and them to be tlsed and stuff