Skip to content

dvdknaap/NodeJS-cluster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Cluster with proxy so you can set multiple domain names on port 80

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published