New answers tagged

1

You are mixing serving Javascript files to the browser and serving node.js app as a backend application. It seems that your node.js app (npx http-server) is an HTTP server itself and it serves your static files to the browser. You don't need to run npx http-server behind nginx if you only need to serve static files to a client browser. But if you need to run ...


Top 50 recent answers are included