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
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
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)
Thx! I heard about Nginx before, should I consider using Caddy instaed?
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.
deleted by creator
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)