So just to be sure, some noobs questions: The 'Ephemeral Ports' and the 'TIME_WAIT state' tricks are here to handle the connections from nginx to Node.js (not for the client to nginx)?
Socket from client to nginx are well identified by the client IP an the client port. On each client request, nginx create a new socket to node.js?
There can be more than one node.js intance running? That's the main goal of nginx here, or there is some additional benifices?
> Edit, ok: "nginx is used for almost everything: gzip encoding, static file serving, HTTP caching, SSL handling, load balancing and spoon feeding clients" http://blog.argteam.com/coding/hardening-node-js-for-product...