aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorSven-Hendrik Haase <svenstaro@gmail.com>2023-08-21 03:06:07 +0000
committerGitHub <noreply@github.com>2023-08-21 03:06:07 +0000
commit1b522e42b4f33f4ba3388b18daf8e264da52cb23 (patch)
treef3bb688f1b4db9589313e6d3a27b824d8c4564a9 /README.md
parentBump deps (diff)
parentAdd tests for `--auth-file` flag (diff)
downloadminiserve-1b522e42b4f33f4ba3388b18daf8e264da52cb23.tar.gz
miniserve-1b522e42b4f33f4ba3388b18daf8e264da52cb23.zip
Merge pull request #1179 from proudmuslim-dev/master
Add ability to read auth from file
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 56701db..dbdf564 100644
--- a/README.md
+++ b/README.md
@@ -47,6 +47,10 @@ Sometimes this is just a more practical and quick way than doing things properly
pw=$(echo -n "123" | sha256sum | cut -f 1 -d ' ')
miniserve --auth joe:sha256:$pw unreleased-linux-distros/
+
+### Require username/password from file (separate logins with new lines):
+
+ miniserve --auth-file auth.txt unreleased-linux-distros/
### Generate random 6-hexdigit URL: