How do I serve hono on https
Hello
I'm using Hono with Bun, and I would like to serve the the application on https://localhost:3000, I couldn't find any documentation on this.
Any help would be greatly appreciated 🙂
Thank You.
5 Replies
is there any particular reason for that? already behaves like HTTPS for development purposes anyway
I'm using cloudflare tunnel to expose the app to public internet, and would like to specify the url with https in the cloudflare tunnel dashboard
You don't have to do that locally; just setup the Cloudflare tunnel and run it, then add your CNAME record to your domain to point the tunnel.
It is working with http, but I was wondering if it is possible to run the local dev server with https and possibly custom certificates