3 ms·
By using the 'http' module we can run a stand-alone web server in node.js without the need for a separate server like Apache or nginx. Last I checked Ryan was
by gruseom 16y ago
By using the 'http' module we can run a stand-alone web server in node.js without the need for a separate server like Apache or nginx.
Last I checked Ryan was saying this was a very bad idea. Has that changed? It's certainly enticing.
- indexzero 16y agoWhen did you last check with him? I've been running w/o a separate server (effectively) for ~3 months.
- gruseom 16y agoOh, I just meant last I checked on blogs and such (not with him personally). IIRC, his main reason for advising against it was that there were too many security holes. This was in a video talk from several months ago if not longer. I'm curious to know if conditions have changed.