aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorproudmuslim-dev <69869443+proudmuslim-dev@users.noreply.github.com>2023-08-03 18:09:13 +0000
committerProudmuslim <proudmuslim-dev@protonmail.com>2023-08-08 15:08:20 +0000
commitd5671c75db400dbd4d4024a8f9f530f0b67b6d7f (patch)
tree9e3da5198a7eb80a8ab196b5e339f0f278ad4e49 /README.md
parentAdd file content example to `--auth-file` argument (diff)
downloadminiserve-d5671c75db400dbd4d4024a8f9f530f0b67b6d7f.tar.gz
miniserve-d5671c75db400dbd4d4024a8f9f530f0b67b6d7f.zip
Add `--auth-file` argument to README.md
Diffstat (limited to '')
-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: