index : static-web-server.git

ascending towards madness

author Jose Quintana <joseluisquintana20@gmail.com> 2022-02-27 23:09:45.0 +00:00:00
committer Jose Quintana <joseluisquintana20@gmail.com> 2022-02-27 23:09:45.0 +00:00:00
commit
5cea3bc1579e8cc235fa50308a95a94af20dd993 [patch]
tree
d6cb33c663b4d37846ecf91ee2a60e9fbf4ddeec
parent
d3fb1370a9ade80392292289b703bfc366af3ab7
download
5cea3bc1579e8cc235fa50308a95a94af20dd993.tar.gz

docs: minor typos [skip ci]



Diff

 docs/content/getting-started.md | 2 +-
 docs/content/migration.md       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/content/getting-started.md b/docs/content/getting-started.md
index d74e87f..a6ac352 100644
--- a/docs/content/getting-started.md
+++ b/docs/content/getting-started.md
@@ -1,6 +1,6 @@
# Getting Started

[Download]./download-and-install.md the binary for your platform and then just type
[Download and install]./download-and-install.md the binary for your specific platform and then just type

```sh
static-web-server --port 8787 --root ./my-public-dir
diff --git a/docs/content/migration.md b/docs/content/migration.md
index 716dcf8..c6da273 100644
--- a/docs/content/migration.md
+++ b/docs/content/migration.md
@@ -17,6 +17,6 @@ Please have in mind the following changes in `v2`:

- The server now supports only a root directory path (via `--root` or its equivalent env) so an assets path option is no longer required.
- Cache control headers are applied to assets in an arbitrary manner. See [control headers examples]./features/cache-control-headers.md for more details.
- OpenSSL TLS for HTTP/1 is not longer supported instead for the HTTP/2 & TLS (via `--http2` option) the server uses [h2]https://github.com/hyperium/h2 which is on top of [Rustls]https://github.com/ctz/rustls. It means that instead of using a `.p12` or `.pfx` file you can now use only a certificate file along with its private key. See [HTTP/2 & TLS examples]./features/http2-tls.md for more details.
- OpenSSL TLS for HTTP/1 is no longer supported, instead for the HTTP/2 & TLS (via `--http2` option) the server uses [h2]https://github.com/hyperium/h2 which is on top of [Rustls]https://github.com/ctz/rustls. It means that instead of using a `.p12` or `.pfx` file you can now use only a certificate file along with its private key. See [HTTP/2 & TLS examples]./features/http2-tls.md for more details.

The rest of known options are equivalent to `v1` (except the new ones of course).