this post was submitted on 07 Jul 2023
9 points (90.9% liked)

Selfhosted

40394 readers
397 users here now

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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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.

top 4 comments
sorted by: hot top controversial new old
[–] manitcor@lemmy.intai.tech 3 points 1 year ago (2 children)

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

[–] radiated@lemm.ee 2 points 1 year ago

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

[–] SpunkyIceke42@lemmy.world 1 points 1 year ago (1 children)

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 3 points 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.