Nginx as a WebSockets Proxy
nginx.com
nginx.com
Even though I could do it with Go, I let nginx do the SSL termination. It's more flexible and I can share the SSL cache with for example a PHP/node.js/... app. Using nginx for the plain file serving part of the app is also a dream.