1
0
mirror of https://github.com/actix/examples synced 2025-06-28 09:50:36 +02:00

fix cd links

This commit is contained in:
Rob Ede
2022-02-18 02:19:57 +00:00
parent 4d210b32f9
commit cfb181ecf5
3 changed files with 16 additions and 10 deletions

View File

@ -6,6 +6,13 @@ You might have already implemented TLS (using one of the ways mentioned in the e
Now, the only problem left to solve is, to listen to **HTTP** connections as well and redirect them to use **HTTPS**
## Usage
```bash
cd middleware/middleware-http-to-https
cargo run
```
## Notes
Also see [`redirect_to_https`](https://docs.rs/actix-web-lab/0/actix_web_lab/middleware/fn.redirect_to_https.html) from [`actix-web-lab`](https://crates.io/crates/actix-web-lab).