https://github.com/runnable/node-proxy
A Simple Node.js HTTP Proxy.
https://github.com/runnable/node-proxy
Last synced: 8 months ago
JSON representation
A Simple Node.js HTTP Proxy.
- Host: GitHub
- URL: https://github.com/runnable/node-proxy
- Owner: Runnable
- Created: 2016-03-25T21:58:27.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-19T20:11:21.000Z (about 10 years ago)
- Last Synced: 2025-01-16T04:31:01.292Z (over 1 year ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 12
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-proxy
## Overview
- Simple HTTP proxy written in node
- Listens on `process.env.PORT` (default: `3000`)
- Requests are passed to: `process.env.ORIGIN_HOST:process.env.ORIGIN_PORT`
- Logs proxy requests and responses via [bunyan](https://github.com/trentm/node-bunyan)
## Container Details
- Stack Type / Version: Node.js `>= 4`
- Packages: *none*
- Build Commands: `npm install`
- Container CMD: `npm start`
## Container Environment
```
# Host to the origin (content) server for the proxy
ORIGIN_HOST=
# Port to of the origin server
ORIGIN_PORT=
```