File SystemHTTP & Networking
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.
Start a cluster of HTTP servers
Run multiple HTTP servers concurrently with the "reusePort" option to share the same port across multiple processes
Proxy HTTP requests using fetch()
In Bun, fetch supports sending requests through an HTTP or HTTPS proxy. Use it on corporate networks or when a request must come from a specific IP address.