diff --git a/pages/common/miniserve.md b/pages/common/miniserve.md new file mode 100644 index 000000000..a8d6753fb --- /dev/null +++ b/pages/common/miniserve.md @@ -0,0 +1,16 @@ +# miniserve + +> Simple HTTP file server CLI. +> More information: . + +- Serve a directory: + +`miniserve {{path/to/directory}}` + +- Serve a single file: + +`miniserve {{path/to/file}}` + +- Serve a directory using HTTP basic authentication: + +`miniserve --auth {{username}}:{{password}} {{path/to/directory}}`