From 99d057e31ddd67f6343b9b52d3575af51be30090 Mon Sep 17 00:00:00 2001 From: Nikita Puzankov Date: Mon, 3 Feb 2020 20:41:13 +0400 Subject: [PATCH] Update server.md (#156) Update old link to `examples/tls` to an up to date `examples/openssl`. --- content/docs/server.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/docs/server.md b/content/docs/server.md index e0c505c..ebe1df1 100644 --- a/content/docs/server.md +++ b/content/docs/server.md @@ -93,7 +93,7 @@ openssl = { version="0.10" } > **Note**: the *HTTP/2.0* protocol requires [tls alpn][tlsalpn]. > At the moment, only `openssl` has `alpn` support. -> For a full example, check out [examples/tls][exampletls]. +> For a full example, check out [examples/openssl][exampleopenssl]. To create the key.pem and cert.pem use the command. **Fill in your own subject** ```bash @@ -156,6 +156,6 @@ are available on unix systems. [startmethod]: https://docs.rs/actix-web/2/actix_web/struct.HttpServer.html#method.start [workers]: https://docs.rs/actix-web/2/actix_web/struct.HttpServer.html#method.workers [tlsalpn]: https://tools.ietf.org/html/rfc7301 -[exampletls]: https://github.com/actix/examples/tree/master/tls +[exampleopenssl]: https://github.com/actix/examples/blob/master/openssl [shutdowntimeout]: https://docs.rs/actix-web/2/actix_web/struct.HttpServer.html#method.shutdown_timeout [disablesignals]: https://docs.rs/actix-web/2/actix_web/struct.HttpServer.html#method.disable_signals