mirror of
https://github.com/actix/examples
synced 2025-06-26 17:17:42 +02:00
fix static-files readme name
This commit is contained in:
@ -8,13 +8,13 @@ We put the self-signed certificate in this directory as an example
|
||||
but your browser would complain that it isn't secure.
|
||||
So we recommend to use [`mkcert`] to trust it. To use local CA, you should run:
|
||||
|
||||
```bash
|
||||
```sh
|
||||
mkcert -install
|
||||
```
|
||||
|
||||
If you want to generate your own cert/private key file, then run:
|
||||
|
||||
```bash
|
||||
```sh
|
||||
mkcert 127.0.0.1 localhost
|
||||
```
|
||||
|
||||
@ -28,7 +28,7 @@ let mut keys = rsa_private_keys(key_file).unwrap(); // rsa
|
||||
|
||||
### Running the Example Server
|
||||
|
||||
```bash
|
||||
```sh
|
||||
cd security/rustls
|
||||
cargo run # (or ``cargo watch -x run``)
|
||||
# Started http server: 127.0.0.1:8443
|
||||
|
Reference in New Issue
Block a user