mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-25 09:59:21 +02:00
add ssl guide ref
This commit is contained in:
@ -42,7 +42,7 @@ fn main() {
|
||||
.header("LOCATION", "/index.html")
|
||||
.body(Body::Empty)
|
||||
})))
|
||||
.serve_tls::<_, ()>("127.0.0.1:8443", &pkcs12).unwrap();
|
||||
.serve_ssl::<_, ()>("127.0.0.1:8443", &pkcs12).unwrap();
|
||||
|
||||
println!("Started http server: 127.0.0.1:8443");
|
||||
let _ = sys.run();
|
||||
|
Reference in New Issue
Block a user