Oriel — AI & technology worth noticing, every day.

Simple NetBSD webserver

Web page · https://bsandro.tech/posts/simple-netbsd-webserver

First seen by Oriel on .

AI summary

This guide explains how to run a small NetBSD 11 web server with bozohttpd, HTTPS from Let’s Encrypt, and automatic certificate renewal.

  • NetBSD’s bozohttpd serves static files from a configured directory and can run as a daemon through /etc/rc.conf.
  • The guide uses acme-client and Let’s Encrypt, exposing an ACME challenge directory and storing domain keys and certificates in specified paths.
  • Passing the certificate and private key with httpd_flags enables HTTPS on port 443.
  • A weekly cronjob runs acme-client and restarts httpd to renew certificates after expiration.
  • bozohttpd also supports virtual hosts, CGI, HTTP basic authorization, Lua scripting, and URL rewrites, but is intended for small-scale projects rather than heavy traffic.

#netbsd #bozohttpd #https #letsencrypt

Generated by gpt-5.6-sol. Check the original for details.

Metric trends

Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained

Points

Score reported by the source.

  • Lobsters: 58, latest observation ; +57 over observed period since

Comments

Comment count reported by the source.

  • Lobsters: 8, latest observation ; +8 over observed period since

Aliases

SourceExternal IDURL
Lobstershzrmwzhttps://bsandro.tech/posts/simple-netbsd-webserver/ Read discussion