Permalink
Browse files

startup config files

  • Loading branch information...
tjanczuk committed Feb 6, 2012
1 parent 6207fc9 commit eda8ae56263318fde68ff935d0ab52a240b6e9ad
Showing with 24 additions and 2 deletions.
  1. +0 −1 .gitignore
  2. +1 −1 package.json
  3. +3 −0 src/apps.json
  4. +20 −0 src/nlb.json
View
@@ -1,4 +1,3 @@
node_modules
secret
.DS_Store
-nlb.json
View
@@ -13,5 +13,5 @@
},
"keywords": ["routing", "http", "application", "web"],
"repository": "git://github.com/tjanczuk/arrjs",
- "engines": { "node": ">= 0.4.1 < 0.7.0" }
+ "engines": { "node": ">= 0.7.0" }
}
View
@@ -0,0 +1,3 @@
+{ "_id" : { "$oid" : "4f29850b574105dd3d29fba5" }, "hosts" : [ { "host" : "app1.janczuk.org", "ssl" : "require", "cert" : "certs/app1-janczuk-cert.pem", "key" : "certs/app1-key.pem" }, { "host" : "app1.tangyorange.com", "ssl" : "none" } ], "instances" : 1, "machines" : [], "process" : { "executable" : "node", "args" : [ "apps/app1/server.js" ] } }
+{ "_id" : { "$oid" : "4f29852a574105dd3d29fba6" }, "hosts" : [ { "host" : "app2.janczuk.org", "ssl" : "allow", "cert" : "certs/app2-janczuk-cert.pem", "key" : "certs/app2-key.pem" }, { "host" : "app2.tangyorange.com", "ssl" : "allow", "cert" : "certs/app2-tangyorange-cert.pem", "key" : "certs/app2-key.pem" } ], "instances" : 2, "machines" : [], "process" : { "executable" : "node", "args" : [ "apps/app2/server.js" ] } }
+{ "_id" : { "$oid" : "4f299b16a8d611802e756b92" }, "hosts" : [ { "host" : "ws1.janczuk.org", "ssl" : "allow", "cert" : "certs/ws1-janczuk-cert.pem", "key" : "certs/ws1-key.pem" }, { "host" : "ws1.tangyorange.com", "ssl" : "allow", "cert" : "certs/ws1-tangyorange-cert.pem", "key" : "certs/ws1-key.pem" } ], "instances" : 1, "machines" : [], "process" : { "executable" : "node", "args" : [ "apps/ws1/server.js" ] } }
View
@@ -0,0 +1,20 @@
+[
+ {
+ "port": 80,
+ "backends": [
+ {
+ "host": "localhost",
+ "port": 31415
+ }
+ ]
+ },
+ {
+ "port": 443,
+ "backends": [
+ {
+ "host": "localhost",
+ "port": 31416
+ }
+ ]
+ }
+]

0 comments on commit eda8ae5

Please sign in to comment.