• 6 Posts
  • 40 Comments
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle










  • Instead of setting up one nginx for multiple sites you run one nginx per site and have the settings for that as part of the site repository.

    Doesn’t that require a lot of resources since you’re running (mysql, nginx, etc.) numerous times (once for each container), instead of once globally?

    Or, per your comment below:

    Since the base image is static, and config is per container, one image can be used to run multiple containers. So if you have a postgres image, you can run many containers on that image. And specify different config for each instance.

    You’d only have two instances of postgres, for example, one for all docker containers and one global/server-wide? Still, that doubles the resources used no?







  • Why are you worried about your site going down during traffic surge? Unless you’re running a critical service, there is no need to worry about this too much if it’s just your personal sites.

    Because it’s an important business website that would have severe consequences if it went down during traffic spikes (which it does get).

    With proper caching, your personal site can even tank traffics from reddit frontpage on a $5/mo vps.

    Yeah, I’m using Cloudflare, and I saw that Wordpress has a built-in caching option, but I couldn’t find any info on how well that protects sites from traffic surges.

    consider hosting it on platforms with autoscaling support such as netlify.

    Yeah but I need an SSG with the same capabilities as Squarespace to do that, and as mentioned in the OP, that doesn’t seem to exist.



  • Since you posted this into a self-hosting community…

    I have two other websites hosted on a $5 Hetzner server (that counts as self-hosted right?). I’ve been considering adding a Wordpress, Grav, or static site to it. But as mentioned in the OP, I have to worry about the site going down if it gets a traffic surge, so I’m thinking it would be safer and similarly/more affordable to host a Wordpress site with Hostinger or GreenGeeks. Am I wrong?

    Grab a Raspberry Pi, slap nginx proxy manager and ddclient into it, and point your domain to your home IP.

    I’m not likely to do that, for multiple reasons.




  • MaximilianKohler@lemmy.worldtoGames@lemmy.worldFuck Ubisoft.
    link
    fedilink
    English
    arrow-up
    35
    arrow-down
    1
    ·
    5 months ago

    It’s definitely convenient to have everything in once place, and Steam has way more features, but it’s good to avoid Steam becoming too monopolistic. We saw recently how badly that can go with reddit.

    Despite the widespread worshipping of Steam and GabeN, I’ve had lots of issues with Steam and Valve over the years.