File SystemHTTP & Networking
Start a cluster of HTTP servers
Run multiple HTTP servers concurrently with the "reusePort" option to share the same port across multiple processes
Hot reload an HTTP server
The --hot flag runs a file with hot reloading enabled. When any module or file changes, Bun re-runs the file.
Configure TLS on an HTTP server
Set the tls key to configure TLS. Both key and cert are required: key is the contents of your private key and cert is the contents of your issued certificate.