Start local server in SSL mode

Is there a way to start the local server in SSL mode?
Maybe we could pass a few arguments or start rack in a different way?

Unsure. Don’t think so currently. Took a quick look at the source code

Jets shells out and calls

bundle exec rackup ...

Believe that uses the settings. Maybe it’s possible to configure that for SSL.

Seems like rackup wraps and eventually calls puma. So maybe it’s possible to adjust it slightly and use a puma.rb config. This provides a clue How to add SSL to your localhost development environment using Ruby on Rails with Puma - DEV Community 👩‍💻👨‍💻 Looks like there’s a ssl_bind method available for puma. Hope that helps.