Cross-posted from: programming.dev/post/33674513
Any general suggestions when getting started with headscale?
Submitted 8 months ago by ruffsl@programming.dev to selfhosted@lemmy.world
https://youtube.com/watch?v=ph5zQYx3HS8
Cross-posted from: programming.dev/post/33674513
Any general suggestions when getting started with headscale?
Looks like they introduce the use Traefik with NixOS here:
How does Traefik compare to a reverse proxy like Caddy?
In terms of setup, Caddy is a lot simpler, but you will find more tutorials for Traefik and it has better integration with Docker. You can add labels to a container and Traefik uses that as config, whereas in Caddy, you need to set up both the container and the config file. If you want to drop a service, then it is easier in Traefik for this reason. But with decent Nix code, you can basically replicate this in Caddy. Once you set them up, they’re pretty much the same.
Note that its also possible to set up service auto discovery with traefik, the only traefik related config I do on new containers is
Traefik.enabled=true
paperd@lemmy.zip 8 months ago
I have been wanting to set this up for a while, but didn’t know what I was doing, so this tutorial helps a lot and I will give it a go, thanks!