update REAMDE.md

master
fangdingjun 8 years ago
parent 733d821e2c
commit 22ae45beb5

@ -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

Loading…
Cancel
Save