You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fangdingjun 85276f92a1 | 8 years ago | |
---|---|---|
.gitignore | 8 years ago | |
LICENSE | 8 years ago | |
README.md | 8 years ago | |
conf.go | 8 years ago | |
conf_test.go | 8 years ago | |
config_example.yaml | 8 years ago | |
dial.go | 8 years ago | |
dns.go | 8 years ago | |
dns_other.go | 8 years ago | |
dns_test.go | 8 years ago | |
fastcgi.go | 8 years ago | |
handler.go | 8 years ago | |
proxy.go | 8 years ago | |
routers.go | 8 years ago | |
server.go | 8 years ago | |
uwsgi.go | 8 years ago |
README.md
gserver
gserver is a golang http/https server
features
- support UWSGI client protocol (python)
- support fastCGI client protocol (php)
- support act as resverse proxy
- support act as forward proxy
- support multiple virtual host
- support SNI (https virtual host)
- support http/2.0 (only on https)
usage
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