This post details how to securely expose Go services to the internet by hardening the `crypto/tls` and `net/http` stacks. It covers TLS configuration, timeouts, HTTP/2 considerations, TCP Keep-Alives, and best practices for using `ServeMux` and logging. The post emphasizes the importance of upgrading to Go 1.8 for critical bug fixes and performance improvements in TLS and HTTP/2 handling.
All Cloudflare trails