{"_id":"freeway","_rev":"29-e9e309806acf3b2ba6e9581e309e6e5c","name":"freeway","description":"Reverse Proxy Server","dist-tags":{"latest":"1.0.0-alpha13"},"versions":{"1.0.0-alpha":{"author":{"name":"Tom Wilson","email":"tom@jackhq.com"},"name":"freeway","description":"Proxy with Admin Panel","version":"1.0.0-alpha","repository":{"url":""},"bin":{"freeway":"./bin/freeway"},"scripts":{"test":"mocha"},"engines":{"node":"0.6 || 0.7"},"dependencies":{"bouncy":"~1.3.1","nano":"~2.0.0","nconf":"~0.5.1","follow":"~0.8.0"},"devDependencies":{"coffee-script":"*","should":"*","mocha":"*","request":"*"},"_npmUser":{"name":"jackhq","email":"tom@jackhq.com"},"_id":"freeway@1.0.0-alpha","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.16","_nodeVersion":"v0.6.15","_defaultsLoaded":true,"dist":{"shasum":"d366ca24cae3b108b205cbbc87824392f60bbf61","tarball":"https://registry.npmjs.org/freeway/-/freeway-1.0.0-alpha.tgz","integrity":"sha512-22lk0s3LI2/Z6MbUEKBtBJuJxwacEqzmHqeCYW0lDJXRhsO25soIXk3MvfklQVgCTUmL/3y4GEAlZdKCnIiXNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5RcM3bR7liXF38q9QB+p6ilm66umAuFfP4tfseGPajwIhAJlNFlw4UhIn4IFA9u60mwReqh0FcPjJhQcGWMaeXORL"}]},"maintainers":[{"name":"jackhq","email":"tom@jackhq.com"}]},"1.0.0-alpha1":{"author":{"name":"Tom Wilson","email":"tom@jackhq.com"},"name":"freeway","description":"Reverse Proxy Server","version":"1.0.0-alpha1","repository":{"url":""},"bin":{"freeway":"./bin/freeway"},"scripts":{"test":"mocha"},"engines":{"node":"0.6 || 0.7"},"dependencies":{"bouncy":"~1.3.1","nano":"~2.0.0","nconf":"~0.5.1","follow":"~0.8.0"},"devDependencies":{"coffee-script":"*","should":"*","mocha":"*","request":"*"},"_npmUser":{"name":"jackhq","email":"tom@jackhq.com"},"_id":"freeway@1.0.0-alpha1","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"0d275e9db92417087bec8264c4f74df489004532","tarball":"https://registry.npmjs.org/freeway/-/freeway-1.0.0-alpha1.tgz","integrity":"sha512-XgXWgwcERWOT4hZyy8QPcQ6GL1FMvyPASwjeC26ne0T36X5uLihDVL067W94siFr3b1FQyfs/5dtjV1q0nqEww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4wM+KwfH7n5ZdGAHwxPkXayyII/ZeeHwxmFKvdIRuzwIhAOR/pyeuAB0ovk8rtQafwh/4dQyK0P1uLIrQh5v91vBK"}]},"maintainers":[{"name":"jackhq","email":"tom@jackhq.com"}]},"1.0.0-alpha2":{"author":{"name":"Tom Wilson","email":"tom@jackhq.com"},"name":"freeway","description":"Reverse Proxy Server","version":"1.0.0-alpha2","repository":{"url":""},"bin":{"freeway":"./bin/freeway"},"scripts":{"test":"mocha"},"engines":{"node":"0.6 || 0.7"},"dependencies":{"bouncy":"~1.3.1","nano":"~2.0.0","nconf":"~0.5.1","follow":"~0.8.0"},"devDependencies":{"coffee-script":"*","should":"*","mocha":"*","request":"*"},"_npmUser":{"name":"jackhq","email":"tom@jackhq.com"},"_id":"freeway@1.0.0-alpha2","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"0b3ad20fc22914c30161a0207d2024735955332c","tarball":"https://registry.npmjs.org/freeway/-/freeway-1.0.0-alpha2.tgz","integrity":"sha512-rOoxcWjBcftuO4ozbF1ojJEI5sHhXAikPghvNuzDT5khMxEcSsqDmNVHaPU3gxu05rJm8kFv73x8wtJpZG2Gnw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDUmRgcwLqSbWs9zgpN/Dx1n9XeZT4/I9UoUJ2dfJZCkAiB27NGd/bO12nOFfN1FLBvk41Dcfp40LtRDSBeuDokxYA=="}]},"maintainers":[{"name":"jackhq","email":"tom@jackhq.com"}]},"1.0.0-alpha3":{"author":{"name":"Tom Wilson","email":"tom@jackhq.com"},"name":"freeway","description":"Reverse Proxy Server","version":"1.0.0-alpha3","repository":{"url":""},"bin":{"freeway":"./bin/freeway"},"scripts":{"test":"mocha"},"engines":{"node":"0.6 || 0.7"},"dependencies":{"bouncy":"~1.3.1","nano":"~2.0.0","nconf":"~0.5.1","follow":"~0.8.0","linchpin":"~0.3.0"},"devDependencies":{"coffee-script":"*","should":"*","mocha":"*","request":"*"},"_npmUser":{"name":"jackhq","email":"tom@jackhq.com"},"_id":"freeway@1.0.0-alpha3","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"0a63de28436d952f303045356bc4205a8a64f68a","tarball":"https://registry.npmjs.org/freeway/-/freeway-1.0.0-alpha3.tgz","integrity":"sha512-xJiKnKKkx9eZClRMz8ps+3qHs/UQZaq0WUZphQBUbYqpPBrYMaO6/nq2TgvBxPZ90Xh8NnxAtvJ1WwzN2ELtFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2A7rH7ft7PXFVT+MZETR8S/WW5Udw3jNPB3ukqIuyvAIgXkqWJH04c/W/26CnrRoHFeoiRPDENl4Me7su2XFTCOI="}]},"maintainers":[{"name":"jackhq","email":"tom@jackhq.com"}]},"1.0.0-alpha4":{"author":{"name":"Tom Wilson","email":"tom@jackhq.com"},"name":"freeway","description":"Reverse Proxy Server","version":"1.0.0-alpha4","repository":{"url":"https://github.com/jackruss/freeway.git"},"bin":{"freeway":"./bin/freeway"},"scripts":{"test":"mocha"},"engines":{"node":"0.6 || 0.7"},"dependencies":{"bouncy":"~1.3.1","nano":"~2.0.0","nconf":"~0.5.1","follow":"~0.8.0","linchpin":"~0.3.0"},"devDependencies":{"coffee-script":"*","should":"*","mocha":"*","request":"*"},"optionalDependencies":{},"homepage":"https://github.com/jackruss/freeway","_npmUser":{"name":"jackhq","email":"tom@jackhq.com"},"_id":"freeway@1.0.0-alpha4","_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"cd2baadfbf3dc4fb93e407faae146d1d3f0ccbea","tarball":"https://registry.npmjs.org/freeway/-/freeway-1.0.0-alpha4.tgz","integrity":"sha512-6pKoAMUbCSJLIXNWK1J6UGUY1JDDrFfHeew3+O47DqaAXYUdm9UBeDirxIuY/b/Qmf6vr9JosrUvity1pnA9lA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqlFdcfKirO1qg89fmikNA58k1yNhnI1LeS9idGFgZYwIhAP3wkEdo6TNzAnq6tGlbhFskSVwsiAd5dWSFc3ad93rE"}]},"maintainers":[{"name":"jackhq","email":"tom@jackhq.com"}]},"1.0.0-alpha5":{"author":{"name":"Tom Wilson","email":"tom@jackhq.com"},"name":"freeway","description":"Reverse Proxy Server","version":"1.0.0-alpha5","repository":{"url":"https://github.com/jackruss/freeway.git"},"bin":{"freeway":"./bin/freeway"},"scripts":{"test":"mocha"},"engines":{"node":"0.6 || 0.7"},"dependencies":{"bouncy":"~1.3.1","nano":"~2.0.0","nconf":"~0.5.1","follow":"~0.8.0","linchpin":"~0.3.0"},"devDependencies":{"coffee-script":"*","should":"*","mocha":"*","request":"*"},"optionalDependencies":{},"homepage":"https://github.com/jackruss/freeway","_npmUser":{"name":"jackhq","email":"tom@jackhq.com"},"_id":"freeway@1.0.0-alpha5","_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"bbeff2290fcbe6cac91962e1c75af93d0eda47ed","tarball":"https://registry.npmjs.org/freeway/-/freeway-1.0.0-alpha5.tgz","integrity":"sha512-VW96DATaAJamYRxDEB5mgZM62Ei3scTijL6GDh4v6hl53wUf/cNkhM9pZWCnUKi+AckLZjrNXeFm3S2dpQj7tA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHJQ1S8oRkzmbY64WScPvEReWZimoxk0qBKtfGXac1LgIgGp+d3SGXp1zmSczGo7Stf/4iOCW3v9CBZjDslVlLADE="}]},"maintainers":[{"name":"jackhq","email":"tom@jackhq.com"}]},"1.0.0-alpha6":{"author":{"name":"Tom Wilson","email":"tom@jackhq.com"},"name":"freeway","description":"Reverse Proxy Server","version":"1.0.0-alpha6","repository":{"url":"https://github.com/jackruss/freeway.git"},"bin":{"freeway":"./bin/freeway"},"scripts":{"test":"mocha"},"engines":{"node":"0.6 || 0.7"},"dependencies":{"bouncy":"~1.3.1","nano":"~2.0.0","nconf":"~0.5.1","follow":"~0.8.0","linchpin":"~0.3.0"},"devDependencies":{"coffee-script":"*","should":"*","mocha":"*","request":"*"},"optionalDependencies":{},"homepage":"https://github.com/jackruss/freeway","_npmUser":{"name":"jackhq","email":"tom@jackhq.com"},"_id":"freeway@1.0.0-alpha6","_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"61de6b6e0ca809cf5faf52696082ee08a8f85d7f","tarball":"https://registry.npmjs.org/freeway/-/freeway-1.0.0-alpha6.tgz","integrity":"sha512-6gUaL+YbJHnmxMUjc2d2QWyjeN52kpNKczeNZCT3pCfupMaMgZkjBqSpd37Leto6v6fxvyWH47u4leVeRvGnrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCa/vgL1STy2MbTFfhHCx/iNrUvDXup/uM3alQOyJD58AIhANJbkRZhZRX9e2Lykv0fO++YTtb1d3pZU0+Qxx7NLLI+"}]},"maintainers":[{"name":"jackhq","email":"tom@jackhq.com"}]},"1.0.0-alpha7":{"author":{"name":"Tom Wilson","email":"tom@jackhq.com"},"name":"freeway","description":"Reverse Proxy Server","version":"1.0.0-alpha7","repository":{"url":"https://github.com/jackruss/freeway.git"},"bin":{"freeway":"./bin/freeway"},"scripts":{"test":"mocha"},"engines":{"node":"0.6 || 0.7"},"dependencies":{"bouncy":"~1.3.1","nano":"~2.0.0","nconf":"~0.5.1","follow":"~0.8.0","linchpin":"~0.3.0","request":"*"},"devDependencies":{"coffee-script":"*","should":"*","mocha":"*"},"optionalDependencies":{},"homepage":"https://github.com/jackruss/freeway","_npmUser":{"name":"jackhq","email":"tom@jackhq.com"},"_id":"freeway@1.0.0-alpha7","_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"fab77e2ee1a947010903019d1f7330db77316b52","tarball":"https://registry.npmjs.org/freeway/-/freeway-1.0.0-alpha7.tgz","integrity":"sha512-y51x78g7cGTBxWTC22ZM2kRC4I6iWLrawrcjFLGDuSchXKUDZdg4qqnBcld8GhsWbn5c0EIvO9OVVDT8Jo2JKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAKvU31F1W/jTWpLdBzIaxJRklJn1vu0y7/sAgyoHoTtAiEAoXPYCKeOvfpiItlpcA8tVVArbEDciNktto8h5bYryAk="}]},"maintainers":[{"name":"jackhq","email":"tom@jackhq.com"}]},"1.0.0-alpha8":{"author":{"name":"Tom Wilson","email":"tom@jackhq.com"},"name":"freeway","description":"Reverse Proxy Server","version":"1.0.0-alpha8","repository":{"url":"https://github.com/jackruss/freeway.git"},"bin":{"freeway":"./bin/freeway"},"scripts":{"test":"mocha"},"engines":{"node":"0.6 || 0.7"},"dependencies":{"bouncy":"~1.3.1","nano":"~2.0.0","nconf":"~0.5.1","follow":"~0.8.0","linchpin":"~0.3.0","request":"*"},"devDependencies":{"coffee-script":"*","should":"*","mocha":"*"},"optionalDependencies":{},"homepage":"https://github.com/jackruss/freeway","_npmUser":{"name":"jackhq","email":"tom@jackhq.com"},"_id":"freeway@1.0.0-alpha8","_engineSupported":true,"_npmVersion":"1.1.24","_nodeVersion":"v0.6.19","_defaultsLoaded":true,"dist":{"shasum":"a8a47a1a63c457a50ee7ede74d985ae17e473a42","tarball":"https://registry.npmjs.org/freeway/-/freeway-1.0.0-alpha8.tgz","integrity":"sha512-A5gafbiXVeMabVLizTsIPto3nZnzL4S3p0UWvLI7R2ELyHwaJ2oUsgmhErVuD2ttkHgqn23EGAWzGPfUnGyPow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAroeFLiey9y3FIqqyvi0I22snlYUekUovX58T9U4beYAiEA8DliLzIO5uTYcSj5v2loZ00auGWt0EKt9h2LYPYoee8="}]},"maintainers":[{"name":"jackhq","email":"tom@jackhq.com"}]},"1.0.0-alpha9":{"author":{"name":"Tom Wilson","email":"tom@jackhq.com"},"name":"freeway","description":"Reverse Proxy Server","version":"1.0.0-alpha9","repository":{"url":"https://github.com/jackruss/freeway.git"},"bin":{"freeway":"./bin/freeway"},"scripts":{"test":"mocha"},"engines":{"node":"0.6 || 0.7"},"dependencies":{"bouncy":"~1.3.1","nano":"~2.0.0","nconf":"~0.5.1","follow":"~0.8.0","linchpin":"~0.3.0","request":"*"},"devDependencies":{"coffee-script":"*","should":"*","mocha":"*"},"optionalDependencies":{},"homepage":"https://github.com/jackruss/freeway","_npmUser":{"name":"jackhq","email":"tom@jackhq.com"},"_id":"freeway@1.0.0-alpha9","_engineSupported":true,"_npmVersion":"1.1.24","_nodeVersion":"v0.6.19","_defaultsLoaded":true,"dist":{"shasum":"9e1d7c50c075cd7bcb2443b47379c4ed5f2b9ecc","tarball":"https://registry.npmjs.org/freeway/-/freeway-1.0.0-alpha9.tgz","integrity":"sha512-79rO6ooY7pzFp/7skekLpbfmZGBIXe1aZDSRgNOdwSZRGOwHabIaS+i4Shm8VGqZzq87kCVogs3P6b3iMqJ5aw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAvfvgW66061bKzJ5M/QmCpIn9ga7OZJVaaxWs2/X8rOAiBh5yJU5WFU/5tEyMm3lNZT8O5852r9MOwTAkTDJfPJIA=="}]},"maintainers":[{"name":"jackhq","email":"tom@jackhq.com"}]},"1.0.0-alpha11":{"author":{"name":"Tom Wilson","email":"tom@jackhq.com"},"name":"freeway","description":"Reverse Proxy Server","version":"1.0.0-alpha11","repository":{"url":"https://github.com/jackruss/freeway.git"},"bin":{"freeway":"./bin/freeway"},"scripts":{"test":"mocha"},"engines":{"node":"0.6 || 0.7"},"dependencies":{"bouncy":"~1.3.1","nano":"~2.0.0","nconf":"~0.5.1","follow":"~0.8.0","linchpin":"~0.3.0","request":"*"},"devDependencies":{"coffee-script":"*","should":"*","mocha":"*"},"optionalDependencies":{},"homepage":"https://github.com/jackruss/freeway","_npmUser":{"name":"jackhq","email":"tom@jackhq.com"},"_id":"freeway@1.0.0-alpha11","_engineSupported":true,"_npmVersion":"1.1.24","_nodeVersion":"v0.6.19","_defaultsLoaded":true,"dist":{"shasum":"e24a4503855fdcbc379a127ba610ed58aabb1904","tarball":"https://registry.npmjs.org/freeway/-/freeway-1.0.0-alpha11.tgz","integrity":"sha512-8uSgQLBSXSDrG6Uoi00ipleSV+iZrDZYfGv8zci3emUpZSXmw2uk8I7vEevwnL83+qbUUQeM8z5mCho5uhduuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPyIIEdTg6cqX4L1B90AVpkkWeokxlv/PgiwQk39fhEgIhAL1DzzIc18ny7Y+01qirRABcJQ/fDKzmg3A76i4ht3y+"}]},"maintainers":[{"name":"jackhq","email":"tom@jackhq.com"}]},"1.0.0-alpha12":{"author":{"name":"Tom Wilson","email":"tom@jackhq.com"},"name":"freeway","description":"Reverse Proxy Server","version":"1.0.0-alpha12","repository":{"url":"https://github.com/jackruss/freeway.git"},"bin":{"freeway":"./bin/freeway"},"scripts":{"test":"mocha"},"engines":{"node":"0.6 || 0.7"},"dependencies":{"bouncy":"~1.3.1","nano":"~2.0.0","nconf":"~0.5.1","follow":"~0.8.0","linchpin":"~0.3.0","request":"*"},"devDependencies":{"coffee-script":"*","should":"*","mocha":"*"},"optionalDependencies":{},"homepage":"https://github.com/jackruss/freeway","readme":"# Freeway\n\nA reverse proxy webserver\n\nFreeway has the following configuration settings that are stored in a couchdb document called\nsettings.  \n\n```\n{\n  \"default\": \"http://internal.server.com\", // your internal servers or load balancers\n  \"tokens\": [\"foo\", \"bar\", \"baz\"]\n}\n```\n\nAny request that comes into the server without a token in the header that matches the\nconfigured tokens will bounce to the default server.  Any request that comes into the\nserver with a matching token will bounce to the host header in the request.\n\n## Install\n\n``` sh\nnpm install freeway -g\n```\n\n## Usage\n\ncreate config json file - config.json\n\n``` js\n{\n  \"datastore\": \"http://localhost:5984/freeway\"\n}\n```\n\n``` sh\nfreeway 8080\n```\n\n## Logging \n\nAll logs are currently going to stdout, if you use forever you can also configure this.\n\n","_id":"freeway@1.0.0-alpha12","dist":{"shasum":"38bcc3b364faff737774bc92685bf5d1db9da93c","tarball":"https://registry.npmjs.org/freeway/-/freeway-1.0.0-alpha12.tgz","integrity":"sha512-9s6NiaQTgIYAD205vg2635tztxmaNB+V9T/mQ+7NIh2nwRmvW3RBN+bRd6Q8vprllyyWgaMpaxkqu8Vo6ddUxA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3BcaEkabRUNrhEKrMB7sMx5/N+XVDmyFT6hffKEdsNAIgDaZ7n2/hoAw8+UEt7h6b3Php3+5iS+1Ok28tOtPMYA8="}]},"maintainers":[{"name":"jackhq","email":"tom@jackhq.com"}]},"1.0.0-alpha13":{"author":{"name":"Tom Wilson","email":"tom@jackhq.com"},"name":"freeway","description":"Reverse Proxy Server","version":"1.0.0-alpha13","repository":{"url":"https://github.com/jackruss/freeway.git"},"bin":{"freeway":"./bin/freeway"},"scripts":{"test":"mocha"},"engines":{"node":"0.6 || 0.7"},"dependencies":{"bouncy":"~1.3.1","nano":"~2.0.0","nconf":"~0.5.1","follow":"~0.8.0","linchpin":"~0.3.0","request":"*"},"devDependencies":{"coffee-script":"*","should":"*","mocha":"*"},"optionalDependencies":{},"homepage":"https://github.com/jackruss/freeway","readme":"# Freeway\n\nA reverse proxy webserver\n\nFreeway has the following configuration settings that are stored in a couchdb document called\nsettings.  \n\n```\n{\n  \"default\": \"http://internal.server.com\", // your internal servers or load balancers\n  \"tokens\": [\"foo\", \"bar\", \"baz\"]\n}\n```\n\nAny request that comes into the server without a token in the header that matches the\nconfigured tokens will bounce to the default server.  Any request that comes into the\nserver with a matching token will bounce to the host header in the request.\n\n## Install\n\n``` sh\nnpm install freeway -g\n```\n\n## Usage\n\ncreate config json file - config.json\n\n``` js\n{\n  \"datastore\": \"http://localhost:5984/freeway\"\n}\n```\n\n``` sh\nfreeway 8080\n```\n\n## Logging \n\nAll logs are currently going to stdout, if you use forever you can also configure this.\n\n","_id":"freeway@1.0.0-alpha13","dist":{"shasum":"09328ef5a98c189cab184ddebf565f07ee9433ab","tarball":"https://registry.npmjs.org/freeway/-/freeway-1.0.0-alpha13.tgz","integrity":"sha512-gMJOL0Y+x2v1fY5oSFo1iSlwKJeWkzqx/dFzlRSMcgaGRyS24ixGJHC3UVAmuC/i9VmXNMvedT+LcEAjakTIYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGm8oyHmcMhU/jnI/Ikkiruy5BfJfWec4hVraHPw/iwiAiAQCEWEWoyLKgI3tx4yxlQMoZRlfcqG22g5VZSPkWBSwA=="}]},"maintainers":[{"name":"jackhq","email":"tom@jackhq.com"}]}},"readme":"# Freeway\n\nA 2-way proxy server\n\n* proxy server\n* reverse proxy server\n\n## About\n\nFreeway uses a couchdb for its configuration setup, this couchdb can be\nconfigured by passing env params or by setting up a config.json file in the root \nof the application.  The config takes two keys, (uri and db)\n\nExample Config\n\n``` javascript\n{\n  \"datastore\": {\n    \"uri\": \"http://localhost:5984\",\n    \"db\": \"freeway\"\n  }\n}\n```\n\nOnce a connection is made, freeway is going to look for two documents in the database.\n\n1. opts\n2. rules\n\nThe `opts` document contains any options you would like to pass to bouncy, for example SSL info to configure as a ssl terminator.\n\nThe `rules` document contains keys that define how the system will bounce per host match.\n\nWhen a request comes into `freeway`, `freeway` will examine the headers `host` key to match against a key in the rules document, if a match is found then it will grab the value object of that key, which contains the url and port to execute the bounce for.\n\n### Token Filter\n\nFreeway has a feature that enables you to configure a `token` that can be validated to confirm that the proxy should perform the bounce.  If the `token` key is not set, it will always bounce, if it is set then freeway will validate the token before bouncing.\n\n## Install\n\n``` sh\nnpm install freeway -g\n```\n\n## Usage\n\ncreate config json file - config.json\n\n``` js\n{\n  \"datastore\": {\n    \"uri\": \"http://localhost:5984\",\n    \"db\": \"freeway\"\n  }\n}\n```\n\n``` sh\nfreeway 8080\n```\n\n","maintainers":[{"name":"jackhq","email":"tom@jackhq.com"}],"time":{"modified":"2022-06-18T03:35:43.239Z","created":"2012-05-03T11:49:09.001Z","1.0.0-alpha":"2012-05-03T11:49:09.977Z","1.0.0-alpha1":"2012-05-29T20:01:32.907Z","1.0.0-alpha2":"2012-05-29T20:03:18.352Z","1.0.0-alpha3":"2012-06-04T21:10:28.713Z","1.0.0-alpha4":"2012-06-05T16:15:36.919Z","1.0.0-alpha5":"2012-06-05T21:04:59.229Z","1.0.0-alpha6":"2012-06-05T21:24:54.866Z","1.0.0-alpha7":"2012-06-07T08:56:35.320Z","1.0.0-alpha8":"2012-06-13T19:48:00.214Z","1.0.0-alpha9":"2012-06-13T21:04:04.321Z","1.0.0-alpha11":"2012-06-14T12:49:22.135Z","1.0.0-alpha12":"2012-08-09T22:49:00.822Z","1.0.0-alpha13":"2012-08-10T02:27:50.046Z"},"author":{"name":"Tom Wilson","email":"tom@jackhq.com"},"repository":{"url":"https://github.com/jackruss/freeway.git"}}