Goup is a small one-binary file server written in Go which also allows to upload files. You can run it standalone or deploy it as FastCGI application.
go get github.com/dAnjou/goup
Usage of goup:
-addr="0.0.0.0:4000": listen on this address
-dir=".": directory for storing and serving files
-index="": serve this file if it exists in the current directory instead of a listing
-mode="http": run either standalone (http) or as FCGI application (fcgi)
-noupload=false: enable or disable uploads
-v=false: verbose output (no output at all by default)
-version=false: show version and exit
Environment variables (get overridden by command line arguments):
GOUP_UPLOAD=false: disable uploads
GOUP_DIR=<path>: see -dir
GOUP_MODE=(http|fcgi): see -mode
GOUP_INDEX=<filename>: see -index