nodejs-cluster

1.0.6 • Public • Published

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

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

Package Sidebar

Install

npm i nodejs-cluster

Weekly Downloads

4

Version

1.0.6

License

BSD-2-Clause

Last publish

Collaborators

  • dutchprogrammer