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.

manitcor
link
fedilink
English
32Y

Got so tired of fighting caddys inadequacies and went to nginx. Worth it.

@[email protected]
creator
link
fedilink
English
22Y

I gave up caddy too and moved over to traefik. Followed the ibracorp guide and it worked like a charm.

@[email protected]
link
fedilink
English
12Y

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
link
fedilink
English
32Y

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.

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  • Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.
  • No spam posting.
  • Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.
  • Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
  • No trolling.

Resources:

> Any issues on the community? Report it using the report flag.

> Questions? DM the mods!

  • 1 user online
  • 218 users / day
  • 9 users / week
  • 244 users / month
  • 841 users / 6 months
  • 0 subscribers
  • 542 Posts
  • 8.93K Comments
  • Modlog