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 8024e968ad remove dash from options 8 years ago
.gitignore Initial commit 8 years ago
LICENSE add README and LICENSE 8 years ago
README.md add README and LICENSE 8 years ago
conf.go use int type for port 8 years ago
conf_test.go add fastcgi, uwsgi, proxy_pass support 8 years ago
config_example.yaml add fastcgi, uwsgi, proxy_pass support 8 years ago
dial.go Initial commit 8 years ago
dns.go Initial commit 8 years ago
dns_test.go Initial commit 8 years ago
dns_windows.go Initial commit 8 years ago
fastcgi.go add fastcgi, uwsgi, proxy_pass support 8 years ago
handler.go add fastcgi, uwsgi, proxy_pass support 8 years ago
proxy.go add fastcgi, uwsgi, proxy_pass support 8 years ago
routers.go add fastcgi, uwsgi, proxy_pass support 8 years ago
server.go remove dash from options 8 years ago
uwsgi.go add fastcgi, uwsgi, proxy_pass support 8 years ago

README.md

fileserver

fileserver is a golang http server which serves the static files and supports http forward proxy

usage

go get github.com/fangdingjun/fileserver
$GOPATH/bin/fileserver -port 8080 -docroot $HOME/public_html -enable_proxy