1.0.6 • Published 9 years ago
nodejs-cluster v1.0.6
NodeJS cluster
Clustering with proxy so you can set multiple domain names on port 80
Domains can be realtime added, removed or just show all domains by command line
Requirements
- Commander
- Http proxy
sudo npm install
How to start
----
This experiments can be start with the cluster.js
```bash
sudo nodejs cluster.js
How to start this chat as an service:
sudo forever start -l forever.log -o out.log -e err.log -a cluster.js
Problems and fixes
When you got problems with ubuntu server because it can't find the node command execute the following line:
sudo update-alternatives --install /usr/sbin/node node /usr/bin/nodejs 99
1.0.6
9 years ago