The simple answer is: nginx does not currently run HTTP / 1.1 upstream and therefore is definitely not a web site (and has no threads, but that's a different story). A simple user proxy based on node.js is probably a good solution. You could also create something in Java; There are many people who are now creating websockets services.
source share