this post was submitted on 15 Jul 2023
10 points (91.7% liked)

Self Hosted - Self-hosting your services.

11447 readers
2 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

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS
 

The title says it all. I am going to start self-hosting soon (still waiting for some hardware). Do you have any tips or advice to give me? I am planning on buying a domain name on Porkbun and start hosting

  • Adguard Home
  • Nextcloud
  • A lemmy instance
  • VaultWarden
  • Photoprism
  • A blog
  • A Matrix server
  • Serge
  • A MC server
  • Some services from the *Arr software suite with the help of LMDS
you are viewing a single comment's thread
view the rest of the comments
[–] pe1uca@lemmy.pe1uca.dev 5 points 1 year ago (1 children)

Caddy is a very simple reverse proxy which handles the https redirect by default, other proxies are http by default and you have to manually configure the redirect. Also caddy automatically handles the TLS certificate for HTTPS with http challenge by default (need port 80 open) or with DNS challenge (you need to build caddy with your DNS module and type the API key)

[–] jvrava9@lemmy.ml 1 points 1 year ago (2 children)

Thx! I heard about Nginx before, should I consider using Caddy instaed?

[–] pe1uca@lemmy.pe1uca.dev 2 points 1 year ago (1 children)

I've always thought nginx configs were too complicated... But that's because I'm not a sysadmin, so I have little to no point of reference.

The Caddyfile is a very simple file, and as mentioned, I don't have to worry about configuring the https redirect or the ssl certificates (reading and obtaining/renewing them), which is more than enough for me.
I've only used it as a reverse proxy which also helps to my config being so simple.

I've read caddy has better performance, but there are posts saying otherwise too. So I'm not sure.

nginx is fine, lemmy uses it inside of its docker images too. I don't find it's config scary(template lemmy internal nginx config)