An NGINX-alike HTTP reverse proxy in Go
Latest commit 3d27778 Jun 16, 2011 Petar Maymounkov cosmetic
Failed to load latest commit information.
reverseproxy cosmetic Jun 16, 2011
.gitignore bug fix Apr 8, 2011
Makefile refactor Apr 8, 2011 readme Apr 8, 2011


GoReverseProxy is an HTTP reverse proxy (similar to a simpler version of NGINX) whose primary purpose currently is to multiplex incoming HTTP requests to different backend servers according to virtual host, and to safeguard against malicious HTTP requests (GoReverseProxy will likely break before allowing a backend server to break).


  • Pipelining
  • Keepalive connections
  • Multiplexing by virtual hosts, specified in a config file
  • File-descriptor limiting
  • Connection timeouts


I am running GoReverseProxy in production (albeit a small production) in front of my blog Population Algorithms and it has been working fine. The blog requests are generally pretty heavy (since they pull in a lot of resource files and things). Keepalive and pipelining have been working correctly.

Nevertheless, it is still early to say that GoReverseProxy is truly production-ready.


To install, simply run

git clone git:// GoReverseProxy-git
cd GoReverseProxy-git
make install

There is an example config file in the subdirectory reverseproxy which is simple and self-explanatory in JSON format.


GoReverseProxy is maintained by Petar Maymounkov.