diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2023-08-21 03:06:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-21 03:06:07 +0000 |
commit | 1b522e42b4f33f4ba3388b18daf8e264da52cb23 (patch) | |
tree | f3bb688f1b4db9589313e6d3a27b824d8c4564a9 /README.md | |
parent | Bump deps (diff) | |
parent | Add tests for `--auth-file` flag (diff) | |
download | miniserve-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.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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: |