diff options
author | Aliaksandr Valialkin <valyala@gmail.com> | 2015-12-30 15:25:20 +0200 |
---|---|---|
committer | Aliaksandr Valialkin <valyala@gmail.com> | 2015-12-30 15:25:20 +0200 |
commit | 5031bb90a59d103c09c4023a3fcac809311ed11a (patch) | |
tree | c343793950af13687627f4c036e71d41472d263a /examples | |
parent | FS: detect file content-type with net/http.DetectContentType if the type cann... (diff) | |
download | fasthttp-5031bb90a59d103c09c4023a3fcac809311ed11a.tar.gz fasthttp-5031bb90a59d103c09c4023a3fcac809311ed11a.tar.bz2 fasthttp-5031bb90a59d103c09c4023a3fcac809311ed11a.zip |
Updated readme for fileserver example
Diffstat (limited to 'examples')
-rw-r--r-- | examples/fileserver/README.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/fileserver/README.md b/examples/fileserver/README.md index e93f961..3b48cb8 100644 --- a/examples/fileserver/README.md +++ b/examples/fileserver/README.md @@ -1,6 +1,8 @@ # Static file server example -Serves files from the given directory. +* Serves files from the given directory. +* Supports transparent response compression. +* Generates directory index pages. # How to build @@ -11,6 +13,7 @@ make # How to run ``` +./fileserver -h ./fileserver -addr=tcp.addr.to.listen:to -dir=/path/to/directory/to/serve ``` |