I keep wanting to use caddy instead of NPM but I just can’t get it to work. I think my use case fairly common (CF DNS and wanting Caddy Security.) but I can’t seem to wrap my head around the existing guides I’ve found.

edit: for anyone interested, I’ve moved over to traefik and it was much easier. Followed ibracorp’s guide.

  • SpunkyIceke42@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Care to elaborate? We are using Caddy for several projects now, and I don’t see the advantages yet, my colleague swears by it.

    • manitcor@lemmy.intai.tech
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      trying to do simple things seemed like a fight, working examples I found hard to come by.

      Nginx “just worked”

      the most confusing thing was figuring out scriptable processing (and the lua vs JS back and forth, go with njs) however there are entire repos of common examples and solutions which made it much more manageable.

      i put this down to maturity and age, older projects just often have more docs, and thier code bases have been molded to fit more cases (esp the strange ones) better.

      When it comes to cloudflare, Im not sure you have much of a choice, I ran across errata RE: Caddy a fair bit when setting up my latest proxy through them.