shuttle
shuttle copied to clipboard
[Feature]: "shuttle run" + Actix + HTTPS / TLS
Describe the feature
There is no way of running shuttle locally with HTTPS / TLS or at the very least I couldn't find any documentation about it. Some features in browsers are available only for HTTPS.
Looking at sources it just uses regular bind:
let server =
actix_web::HttpServer::new(move || actix_web::App::new().configure(self.0.clone()))
.workers(worker_count)
.bind(addr)?
.run();
Suggestion or Example of how the feature would be used
There should be a way to start local instance with HTTPS binding with self-signed certificates.
Duplicate declaration
- [X] I have searched the issues and this feature has not been requested before.
Thanks for the feature request! We'll have to see if we can find a design where the user can have more control of the server, but for now you should be able to achieve this with a custom service. It would be great if you could let us know how it goes, and feel free to reach out here or on Discord if you have questions!