So you want to expose Go on the Internet

I was asked to contribute a post to the excellent Gopher Academy advent series. I took the occasion to write down what I learned deploying a Go service on the Cloudflare edge.

The result is a catalogue of what you need to know before you drop NGINX from in front of your Go server.

The net/http part is a bit of a follow up to my timeouts post, but with more links to Go issues (tl;dr: use Go 1.8). There's also a section summarizing how to use crypto/tls securely and performantly.

Server Timeouts

So you want to expose Go on the Internet | Gopher Academy Blog (archive) (republished on the Cloudflare blog)