simonlast / nodecloud

Run many node.js apps on one server with node-http-proxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

###Run many node.js apps on one server with node-http-proxy. For use on my personal sites. This might not be that useful for people, requires that each server take a port as the first command-line argument.

###Configuration (config.json)

{
  "base": "base url for your sites",
  "startPort": 8000,
  "sites": [
    {
      "name": "subdomain",
      "dir": "dir/",
      "start": "server.js"
    },
    ...
  ]
}

About

Run many node.js apps on one server with node-http-proxy


Languages

Language:JavaScript 100.0%