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.
You must log in or register to comment.
Is your site static or dynamic? If your site is made of good old HTML and CSS or your site is a SPA, any web server will serve it well.
I prefer Nginx as it is performant and versatile enough for most use cases.
Static mostly, I will have a few dynamic pages though.
If your dynamic pages leverage PHP, Nginx can be configured to support that via FastCGI. If your site has its own server runtime (e.g. a site written with NodeJS or Go), Nginx reverse proxy is literally its strength. So yeah give Nginx a try. I bet you won’t regret it.