3 ms·
I use nginx + upstart to keep my golang process up and running. When I asked about it on the golang irc channel, people said that they just use golang without a
by jamra 12y ago
I use nginx + upstart to keep my golang process up and running. When I asked about it on the golang irc channel, people said that they just use golang without a reverse proxy.
I personally like the ssl termination that nginx offers. I believe that nginx is a better way to load balance and I like not having to run my code as root, which using a reverse proxy provides you.
- justincormack 12y agoYou can use capabilities to allow binding to port 80 without being root.
- jamra 12y agoI've heard that before but never got around to trying it out. I should really take a look. Thanks.
- vertex-four 12y agoAnother alternative is authbind[0], which doesn't have the same drawbacks (i.e. you can use it with scripts, and still set LD_LIBRARY_PATH). [0] http://en.wikipedia.org/wiki/Authbind http://en.wikipedia.org/wiki/Authbind