aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rw-r--r--README.md19
2 files changed, 19 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7c0a1f9..d730d6b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Add hardened systemd template unit file to `packaging/miniserve@.service`
- Fix qrcodegen dependency problem [#568](https://github.com/svenstaro/miniserve/issues/568)
- Remove animation on QR code hover (it was kind of annoying as it makes things less snappy)
+- Add TLS support [#576](https://github.com/svenstaro/miniserve/pull/576)
## [0.14.0] - 2021-04-18
- Fix breadcrumbs for right-to-left languages [#489](https://github.com/svenstaro/miniserve/pull/489) (thanks @aliemjay)
diff --git a/README.md b/README.md
index daf2274..390715d 100644
--- a/README.md
+++ b/README.md
@@ -49,6 +49,10 @@ Sometimes this is just a more practical and quick way than doing things properly
miniserve -i 192.168.0.1 -i 10.13.37.10 -i ::1 /tmp/myshare
+### Start with TLS:
+
+ miniserve --tls-cert my.cert --tls-key my.key /tmp/myshare
+
### Upload a file using `curl`:
# in one terminal
@@ -74,7 +78,7 @@ Sometimes this is just a more practical and quick way than doing things properly
## Usage
- miniserve 0.14.0
+ miniserve 0.14.1-alpha.0
Sven-Hendrik Haase <svenstaro@gmail.com>, Boastful Squirrel <boastful.squirrel@gmail.com>
For when you really just want to serve some files over HTTP right now!
@@ -102,6 +106,12 @@ Sometimes this is just a more practical and quick way than doing things properly
-h, --help
Prints help information
+ -H, --hidden
+ Show hidden files
+
+ -F, --hide-version-footer
+ Hide version footer
+
-P, --no-symlinks
Do not follow symbolic links
@@ -134,6 +144,7 @@ Sometimes this is just a more practical and quick way than doing things properly
zenburn, monokai]
--header <header>...
Set custom header for responses
+
--index <index_file>
The name of a directory index file to serve, like "index.html"
@@ -151,6 +162,12 @@ Sometimes this is just a more practical and quick way than doing things properly
-t, --title <title>
Shown instead of host in page title and heading
+ --tls-cert <tls-cert>
+ TLS certificate to use
+
+ --tls-key <tls-key>
+ TLS private key to use
+
ARGS:
<PATH>