aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorGravatar Aliaksandr Valialkin <valyala@gmail.com> 2015-12-30 15:25:20 +0200
committerGravatar Aliaksandr Valialkin <valyala@gmail.com> 2015-12-30 15:25:20 +0200
commit5031bb90a59d103c09c4023a3fcac809311ed11a (patch)
treec343793950af13687627f4c036e71d41472d263a /examples
parentFS: detect file content-type with net/http.DetectContentType if the type cann... (diff)
downloadfasthttp-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.md5
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
```