Yes, this is a very cool guide indeed! If it weren't for my wish to not use inetd I wouldn't even do the writeup because it was very neatly done already there.
I guess we went about this remarkably similarly, even if we picked different OS-es :)
This was an easy upvote for me, I really enjoyed the style of your writing. Informative, but gives the impression that you were more or less learning as you wrote and I think that's one of the best times to write down what you know.
bozohttpd seems interesting, but (and maybe that's just because I haven't given it a proper shot yet), its implicit configuration isn't nearly as appealing to me as OpenBSD's httpd's. I like having my config be in one file, that I can move around and potentially even version control and while I guess you could do that with your rc config, it feels a bit broad in scope.
The similarity is wider than you think also, friend! The website of mine is running on openbsd for years, with similar setup - httpd, ssl, gzip, git repository via patched stagit (and SSR for pages). I use it as a mail server too, openbsd is very straightforward to set up like that.
I spun up a NetBSD server about a month ago and it's been chugging along quite well. If I remember correctly I saw someone mentioning that they use pkgsrc on MacOS which is an interesting alternative to Homebrew.
eBPF | 12 hours ago
Related: Setup a simple web server with bozohttpd on NetBSD (31 votes, 1 comment).
[OP] bsandro | 3 hours ago
Yes, this is a very cool guide indeed! If it weren't for my wish to not use inetd I wouldn't even do the writeup because it was very neatly done already there.
johnklos | 10 hours ago
More things should be this simple. It says something that a minimal OS can come with a pretty decently usable web server.
mccd | 6 hours ago
I love these minimal servers that come built into the OS. It makes it so easy to setup a webserver.
The only thing I miss in them are more modern auth options, like passkeys or email otp.
nemin | 5 hours ago
I guess we went about this remarkably similarly, even if we picked different OS-es :)
This was an easy upvote for me, I really enjoyed the style of your writing. Informative, but gives the impression that you were more or less learning as you wrote and I think that's one of the best times to write down what you know.
bozohttpdseems interesting, but (and maybe that's just because I haven't given it a proper shot yet), its implicit configuration isn't nearly as appealing to me as OpenBSD'shttpd's. I like having my config be in one file, that I can move around and potentially even version control and while I guess you could do that with yourrcconfig, it feels a bit broad in scope.For something on the cheap, I've seen https://tierhive.com/ being recommended.
[OP] bsandro | 4 hours ago
Thanks for your kind words and vps suggestion!
The similarity is wider than you think also, friend! The website of mine is running on openbsd for years, with similar setup - httpd, ssl, gzip, git repository via patched stagit (and SSR for pages). I use it as a mail server too, openbsd is very straightforward to set up like that.
miro | 32 minutes ago
I spun up a NetBSD server about a month ago and it's been chugging along quite well. If I remember correctly I saw someone mentioning that they use pkgsrc on MacOS which is an interesting alternative to Homebrew.