mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-09 00:59:02 +03:00
chore: update readme
This commit is contained in:
10
README.md
10
README.md
@@ -332,14 +332,14 @@ dufs --log-format '$remote_addr $remote_user "$request" $status' -a /@admin:admi
|
|||||||
All options can be set using environment variables prefixed with `DUFS_`.
|
All options can be set using environment variables prefixed with `DUFS_`.
|
||||||
|
|
||||||
```
|
```
|
||||||
[serve-path] DUFS_SERVE_PATH=/dir
|
[serve-path] DUFS_SERVE_PATH="."
|
||||||
--config <path> DUFS_CONFIG=config.yaml
|
--config <path> DUFS_CONFIG=config.yaml
|
||||||
-b, --bind <addrs> DUFS_BIND=0.0.0.0
|
-b, --bind <addrs> DUFS_BIND=0.0.0.0
|
||||||
-p, --port <port> DUFS_PORT=5000
|
-p, --port <port> DUFS_PORT=5000
|
||||||
--path-prefix <path> DUFS_PATH_PREFIX=/path
|
--path-prefix <path> DUFS_PATH_PREFIX=/path
|
||||||
--hidden <value> DUFS_HIDDEN=*.log
|
--hidden <value> DUFS_HIDDEN=*.log
|
||||||
-a, --auth <rules> DUFS_AUTH="admin:admin@/:rw|@/"
|
-a, --auth <rules> DUFS_AUTH="admin:admin@/:rw|@/"
|
||||||
-A, --allow-all DUFS_ALLOW_ALL=true
|
-A, --allow-all DUFS_ALLOW_ALL=true
|
||||||
--allow-upload DUFS_ALLOW_UPLOAD=true
|
--allow-upload DUFS_ALLOW_UPLOAD=true
|
||||||
--allow-delete DUFS_ALLOW_DELETE=true
|
--allow-delete DUFS_ALLOW_DELETE=true
|
||||||
--allow-search DUFS_ALLOW_SEARCH=true
|
--allow-search DUFS_ALLOW_SEARCH=true
|
||||||
|
|||||||
Reference in New Issue
Block a user