Can someone point me to a guide for using caddy using Cloudflare DNS and Caddy-Security using docker compose

radiated@lemm.ee to Selfhosted@lemmy.world – 9 points –

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.

4

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

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

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

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.