]> OzVa Git service - ozva-cloud/commitdiff
chore: update readme
authorsigoden <sigoden@gmail.com>
Wed, 19 Jul 2023 22:33:17 +0000 (06:33 +0800)
committersigoden <sigoden@gmail.com>
Wed, 19 Jul 2023 22:33:17 +0000 (06:33 +0800)
close #247

README.md

index 6c920a8f14c8c15609596fafb1085afb1ced39fa..c36358ac0bca77f377e13ce402d52126884d56e8 100644 (file)
--- a/README.md
+++ b/README.md
@@ -308,10 +308,10 @@ dufs --log-format '$remote_addr $remote_user "$request" $status' -a /@admin:admi
 All options can be set using environment variables prefixed with `DUFS_`.
 
 ```
-  [ROOT_DIR]                  DUFS_ROOT_DIR=/dir
+  [SERVE_PATH]                DUFS_SERVE_PATH=/dir
   -b, --bind <addrs>          DUFS_BIND=0.0.0.0
   -p, --port <port>           DUFS_PORT=5000
-      --path-prefix <path>    DUFS_PATH_RREFIX=/path
+      --path-prefix <path>    DUFS_PATH_PREFIX=/path
       --hidden <value>        DUFS_HIDDEN=*.log
   -a, --auth <rules>          DUFS_AUTH="admin:admin@/:rw|@/" 
       --auth-method <value>   DUFS_AUTH_METHOD=basic