Sign in
Log inSign up

Why is it not recommended to serve static files from Node.js?

Margaret's photo
Margaret
·Oct 20, 2015

I read somewhere that static files should be served from Nginx which sits in front of Node.js. Why is it not recommended to serve from Node.js directly? Is express.static() not good for production usage?