From 22ae45beb53ad437fc126c027c4ccac940c3bd13 Mon Sep 17 00:00:00 2001 From: fangdingjun Date: Fri, 23 Dec 2016 16:33:40 +0800 Subject: [PATCH] update REAMDE.md --- README.md | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 641f5e0..ff6a592 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,24 @@ -fileserver +gserver ========= -fileserver is a golang http server which serves the static files and supports http forward proxy +gserver is a golang http/https server +features +======= + +- support HTTP/1.1, HTTP/2.0 +- support serve static files +- support UWSGI client protocol (python) +- support fastCGI client protocol (php) +- support act as resverse proxy +- support act as forward proxy +- support multiple locations usage ==== - go get github.com/fangdingjun/fileserver - $GOPATH/bin/fileserver -port 8080 -docroot $HOME/public_html -enable_proxy + go get github.com/fangdingjun/gserver + cp $GOPATH/src/github.com/fangdingjun/gserver/config_example.yaml config.yaml + vim config.yaml + $GOPATH/bin/gserver -c config.yaml