Dodecahedron December

I try things on the internet.

rarely, shit just works.

  • 0 Posts
  • 53 Comments
Joined 1 year ago
cake
Cake day: July 5th, 2023

help-circle










  • They were down but aren’t. This is going to happen from time to time for reasons, but most importantly (and this is not an advert or endorsement for centralized services like reddit):

    • these instances are run by small teams, maybe even one person per instance. By “run by” I mean the admins who can actually host and support the hosting environment of the instance, not moderators though that’s an important task too.
    • At reddit or other for-profit companies, multiple teams of people monitor multiple data centers worth of servers, have 24/7 tech support crew, dashboards, alarms, alerts, escallation proceedures drafted by other teams, people they can escallate problems to including usually a decent sized team at the physical datacenter due to the amount of servers they buy because of what they can afford based off advertising income because the site is popular enough, which is why it’s much more rare to see these services go down.

    But so many things can and do fail, including:

    • updates (dependencies, breaking updates, “this should just have worked but it didn’t, why?!”)
    • server issues (too many memes and now the disk has runeth over)
    • one server that gets overloaded or is in a data center that has a network failure, or a hardware failure on the server where the virtual server is hosted
    • account got hacked
    • 0 day exploit targeted directly at this server
    • DoS or DDoS attack
    • Admin has a day job that they need to do to keep the lights on at home and at the lemmy instance and has to do their day job work.

    Speaking from experience, but not with lemmy in particular.







  • +1 for nginx, although there has been some concern because nginx is developed by a group of russians though it is open source and appears to still be widely used. If this worries you, look into traefik.

    Otherwise does your ProxMox setup run docker containers? If so you can use NginxProxyManager which has a web gui for configuring your virtual hosts.

    At a high level what you need is this:

    • all domains routed to your host (or home if self hosting) IP.
    • that IP needs to have a reverse proxy server like traefik or nginx listening on port 80 and port 443 if you want ssl/tls.
    • your app servers which run lemmy, nextcloud, etc can be anywhere on your network where your reverse proxy can access. You’ll need to create vhosts for each. The server uses the Host header to determine which IP to reverse proxy to, eithe lemmy.moorefam.net or nextcloud.moorefam.net
    • the reverse proxy will get the content from lemmy or nextcloud and serve it via that IP and port.
    • ensure your home router is port forwarded on 80 (and 443 if you want ssl/tls) if you want to access these instances from the public internet but beware, you might want to add a firewall in-between if you aren’t confident in your router’s firewall.