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.

  • slip@818.gallery
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Yeah apache is awesome. Lots of settings if u want, and every question I’ve ever asked and probably am yet to ask has already been answered on stack with multiple duplicates aha

    • vegetaaaaaaa@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Check out mod_md - this module allows getting certificates from Let’s Encrypt (or any other ACME cert provider) automatically. Just set this anywhere in your config, reload apache and you’re set. No more fiddling around with certbot.

      MDCertificateAgreement accepted
      MDContactEmail me@example.org
      MDomain my.example.org
      

      Also other comments make it look like only nginx supports FastCGI (e.g. php-fpm), apache has supported talking to FastCGI since 2005:

        <FilesMatch \.php$>
          SetHandler "proxy:unix:/run/php/php8.2-fpm.sock|fcgi://localhost"
        </FilesMatch>
      
      • slip@818.gallery
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Yeah I use php-fpm, I didn’t know much about it the first time I installed it, I just needed it for HTTP 2.

        For ssl I just install certbot and let it autorun LetsEncrypt, I haven’t had any issues with any of my ssl certs, it’s pretty nice.

        The age old LAMP stack is pretty solid, except for me it’s LAPP cuz I don’t wanna use mysql.