Which web server software do you recommend?

asudox@lemmy.world to Selfhosted@lemmy.world – 28 points –

I want to host my website in my raspberry pi, I've read that I would need a web server software for this. Which one do you recommend? It won't be a complex website.

46

You are viewing a single comment

Caddy! It has HTTPS built in and provides simple but powerful configuration with sane defaults.

Example Caddyfile for a static file server:

example.com {
	root * /var/www
	file_server
}

I used nginx in the past, but didn't like it's verbose config files.

+1 for Caddy. It's my default webserver and reverse proxy. Built-in Https and the fact that I can get it up, running and configured in a matter of minutes are the main reasons.

The first open source contribution I made was to caddy!