Title. I looked at how to configure anything and found Caddy to be much easier to use. Aside from a lot of docker images integrating with it, why is everyone using it? Edit: I meant Traefik

  • vampatori@feddit.uk
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 days ago

    I switched to Traefik as it has auto-configuring for containers for effortless deployment to any of your environments (dev, test, staging, production, etc.) either manually or straight from CI/CD.

    The way it works is that you put any configuration in your compose file which is then picked-up by Traefik when its deployed - it reads the config, re-configures itself accordingly, and you’re done! So all your reverse-proxy config, cert config, etc. is all with the project so aren’t going to get out-of-sync.

    Just keeps things really clean and simple. Plus it’s a great reverse proxy of course with tons of features, nice admin dashboard, logging, etc.

  • Domi@lemmy.secnd.me
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 days ago

    If Caddy works for you, no reason to change it.

    I use Traefik because I like how tightly integrated it is with Docker. If the container with the config labels on it starts/stops the corresponding router in Traefik also starts/stops.

    Since my services are mostly running in Docker, it’s the perfect workflow for me.

  • Jason2357@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 days ago

    I use both. Caddy on a VPS that reaches into my Tailscale network and proxies services hosted on a computer in my basement.

      • Jason2357@lemmy.ca
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 days ago

        The VPS is a $2 instance and very under powered, however it has a dedicated static IP and some Ddos protection. The basement computer is powerfully and capable of providing various services, but I don’t want any trouble with my home IP address. Tailscale let’s the VPS see the home computer securely.

          • Jason2357@lemmy.ca
            link
            fedilink
            English
            arrow-up
            1
            ·
            16 hours ago

            Thanks, I like it. The downside is that the VPS can see the content of my services, so it’s no good if you don’t trust the VPS provider, or if the content is too sensitive to allow that. I think it’s a good trade-off for my usage though. Performs well. One of the services I proxy is a rpi serving images downloaded from weather satellites. Connecting directly to the pi is super slow, but the proxy caching makes it 100% faster.