title: Back to BSD! date: 2026-02-22 12:48:00 -0300 tags: bsd, freebsd, self-hosting, snac slug: back-to-bsd description: Going back to self hosting image: https://images.unsplash.com/photo-1687300172792-68a13c4e149a?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3NTU3ODl8MHwxfHNlYXJjaHw2fHxzZXJ2ZXIlMjByYWNrfGVufDB8MHx8fDE3NzE3NjU1ODh8MA&ixlib=rb-4.1.0&q=80&w=1080 image_caption: Photo by Ivan N on Unsplash
Well, now that my Master's is over and the PhD is not so easy to get in, let's find something useful to do :)
Since I'm still planning to study, my main computer is still my laptop which, unfortunately, won't run any BSD without some struggle. As it is my work equipment as well, I can't afford to keep messing with it for now. So, to feed my BSD crave, I went back to a VPS to host this site and its snac instance, keeping my hands dirty and my mind sharper.
The choice this time was FreeBSD for one main reason: jails. Jails, and specially BastilleBSD, are among the best features in a server operating system. Way better than containers—that's why I won't bother to look into podman worikng on FreeBSD—because they are simpler, smaller, easy to work with and to move around.
My current setup is fairly simple: one NGINX on the “host” serving as a proxy server and two jails: one for this site and one for snac. In the future, maybe I'll add one for WordPress (or more likely ClassicPress) to host my wife's site.
The configuration is simple: each jail hosts a basic Nginx server exposing a local port to the Bastille network and the 'root' Nginx handles the proxy_pass to those jails and manages the SSL certificates with certbot. The snac jail also requires the snac service to be running, but it's very easy to setup and maintain. With everything in place, it's just to a matter to keep an eye on the services and enjoying the stability that the BSD family provides.
OBS: I went from Hetzner to OVH and now I'm going back to Hetzner because OVH increased my VPS price by more than 60%. Thanks AGI ¬¬

