Essentially I’m trying to get the auto HTTPS feature in Caddy working while running it in a docker container. Any ideas on the optimal way of doing this? If not, what would be the best way to configure https manually using tailscale’s certificates?
If you don’t know about the feature, here are a few links:
Tailscale is running smoothly on my Mac. On the same Mac, I also have Rancher Desktop, so I can run Caddy inside a docker container.
I need Caddy in the container (which is forwarding ports 80 and 443 to my Mac) to automatically establish an SSL connection to the Tailscale daemon on my Mac. What Linux pipe or socket should be mounted in the container for this to work?
This does not completely address my post, however. I want to use the automatic HTTPS certificate management on Tailscale (“Caddy Certificates on Tailscale”) that was mentioned above.
Perusing the commit that added TS_PERMIT_CERT_UID did not make it clearer to me how to make this functionality available in the Caddy container.