How To Configure Nginx To Serve Static Files For Node Js
Node.js is an excellent JavaScript runtime environment, which you can use to serve entire web assets (static+dynamic) from it. If you are working on a small, experimental project then probably it’s ok, however, if response time is concerned then you must consider using a web server like Nginx in front of Node.js to serve static files. Actually, not just to serve static files but also from a security point of view you should consider Nginx....