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.

  • Qazwsxedcrfv000A
    link
    fedilink
    English
    31 year ago

    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.

      • Qazwsxedcrfv000A
        link
        fedilink
        English
        01 year ago

        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.