Migrating from Codeberg Pages to an OpenBSD VPS
33 points by nemin
33 points by nemin
I have also been disappointed by Codegberg Pages' uptime and performance, and while I am also grateful they exist I am exploring alternatives as well.
Something others may want to consider if you'd rather not go the VPS route: grebedoc.dev
I have been using grebedoc since its inception, It has worked quite well for me, now I have switched to using git-pages-cli, so Its just one command.
git-pages-cli https://untrusem.party --password $GIT_PAGES_PASS --upload-dir $PAGES_DIR
I've been experiencing intermittent slowdowns on Codeberg and after being nerdsniped to do something with the BSDs, I figured it's the perfect excuse to splurge a little and try my hand at setting up a VPS. This post shows my journey from actually renting the thing to putting OpenBSD on it, to then setting up a reasonably secure (yet still very simple) static web server on it.
This post isn't really a tutorial (for that, as I mention it again and again in the post itself, I'd much rather recommend httpd.rocks), more a "What I experienced while following a bunch of tutorials and where I felt like there are gaps that I have something to say about"-ial.
I've ended up using a single monolithic / partition on my OpenBSD VPS. You're "not supposed to do that" and there was a syspatch issue I needed to work around there, but I've found it worth the trade-off to not be extremely wasteful with storage space. Though, since OpenBSD no longer has crash resilience in UFS, you may wish to keep separate partitions if you have important data.