I'm currently writing a web app in Node.js and will soon be setting up my Linux server to make it live. I'm curious, is it worth running Nginx for my Node app's static files? Is it running Nginx to reverse proxy to any other Node apps that maybe running on my server, or should I just use something like node-http-proxy and not use Nginx at all? My Node app will be using socket.io.
I have a linux (Ubuntu 12.04) server running nodejs and node-inspector for debug, however I cannot access the debug from another machine, running windows.
Here is what I got:
Downloaded the most recent stable version (v0.10.18) from nodejs site for linux.
Then I cd to $HOME/Downloads/node-v0.10.18-linux-x86/bin
Installed node-inspector with ./npm install -g node-inspector
Start node-inspector w
I have downloaded and extracted (say /home/varun/node) Node.js linux 64-bit binary bundle from the node.js site. What are the locations I need to add to Path variable for node and npm to work properly?
I have added /home/varun/node/bin to my path and node seems to be working fine. However, npm is throwing errors.