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.
Go to file
dingjun d0e5f8bb6a move http2 proxy client to subdirectory 6 years ago
proxy_local move http2 proxy client to subdirectory 6 years ago
.gitignore use gofast implement to handle php script 8 years ago
LICENSE add README and LICENSE 8 years ago
README.md update README 6 years ago
conf.go rewrite proxy part 6 years ago
conf_test.go add fastcgi, uwsgi, proxy_pass support 8 years ago
config_example.yaml rewrite proxy part 6 years ago
conn.go rewrite proxy part 6 years ago
go.mod add go module files 6 years ago
go.sum add go module files 6 years ago
handler.go use http.Error instead of fmt.Printf 6 years ago
proxy.go rewrite proxy part 6 years ago
server.go use trace.EventLog to log errors 6 years ago

README.md

gserver

gserver is a golang http/https server

features

  • 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