@@ -48,18 +48,19 @@ server [options]
48
48
Root directory of the server.
49
49
Defaults to current working directory.
50
50
51
- -a|--alias <separator><url-path><separator><file-system -path> ...
51
+ -a|--alias <separator><url-path><separator><fs -path> ...
52
52
Set path alias. e.g. ":/doc:/usr/share/doc"
53
53
54
54
-U|--global-upload
55
55
Allow upload files for all url paths.
56
+ If filename exists, will try to add or increase numeric suffix.
56
57
Use it with care.
57
58
-u|--upload <url-path> ...
58
59
Set url paths that allows to upload files.
59
- If filename exists, will try to add or increase numeric prefix.
60
60
Use it with care.
61
61
--upload-dir <fs-path> ...
62
62
Similar to --upload, but use file system path instead of url path.
63
+ Use it with care.
63
64
64
65
-A|--global-archive
65
66
Allow user to download the whole contents of current directory for all url paths.
@@ -71,9 +72,11 @@ server [options]
71
72
Similar to --archive, but use file system path instead of url path.
72
73
73
74
--global-cors
74
- Allow CORS requests for all url paths .
75
+ Allow CORS requests for all url path .
75
76
--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.
77
80
78
81
-c|--cert <file>
79
82
Specify TLS certificate file.
@@ -113,7 +116,7 @@ server [options]
113
116
separated by whitespace characters.
114
117
115
118
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.
117
120
118
121
,,
119
122
To specify multiple virtual hosts with options, split these hosts' options by this sign.
0 commit comments