Skip to content

Commit 586c6d0

Browse files
committed
docs: update README
1 parent 936c10d commit 586c6d0

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,19 @@ server [options]
4848
Root directory of the server.
4949
Defaults to current working directory.
5050
51-
-a|--alias <separator><url-path><separator><file-system-path> ...
51+
-a|--alias <separator><url-path><separator><fs-path> ...
5252
Set path alias. e.g. ":/doc:/usr/share/doc"
5353
5454
-U|--global-upload
5555
Allow upload files for all url paths.
56+
If filename exists, will try to add or increase numeric suffix.
5657
Use it with care.
5758
-u|--upload <url-path> ...
5859
Set url paths that allows to upload files.
59-
If filename exists, will try to add or increase numeric prefix.
6060
Use it with care.
6161
--upload-dir <fs-path> ...
6262
Similar to --upload, but use file system path instead of url path.
63+
Use it with care.
6364
6465
-A|--global-archive
6566
Allow user to download the whole contents of current directory for all url paths.
@@ -71,9 +72,11 @@ server [options]
7172
Similar to --archive, but use file system path instead of url path.
7273
7374
--global-cors
74-
Allow CORS requests for all url paths.
75+
Allow CORS requests for all url path.
7576
--cors <url-path> ...
76-
Allow CORS requests for specific url paths.
77+
Allow CORS requests for specific url path.
78+
--cors-dir <fs-path> ...
79+
Allow CORS requests for specific file system path.
7780
7881
-c|--cert <file>
7982
Specify TLS certificate file.
@@ -113,7 +116,7 @@ server [options]
113116
separated by whitespace characters.
114117
115118
The external config's priority is lower than arguments specified on command line.
116-
If one option is specified on command line, then external config is ignored.
119+
If one option is specified on command line, then external config of that option is ignored.
117120
118121
,,
119122
To specify multiple virtual hosts with options, split these hosts' options by this sign.

0 commit comments

Comments
 (0)