Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

HTTP proxy server in Node.js allowing modification of user responses.

License

Notifications You must be signed in to change notification settings

seek-oss/https-proxy-server

Repository files navigation

HTTP proxy server

A simple HTTP proxy server which lets you modify user responses. A future addition will be support for HTTPS.

Getting started

Getting up and running is as simple as installing application dependencies and starting up a local development server.

Setting up development environment

$ npm install
$ npm run setup

To run the app

$ npm start

Config options

The project offers the following default config:

{
  "proxySettings": {
    "port": "7777",
    "headersFolderLocation": "./headers",
    "userResponseHeadersFile": "userResponseHeaders.json",
    "debug": false
  }
}

To override these values create a config.json in your root folder, similar to sample-config.json.

The headersFolderLocation (mandatory) is relative to the root folder and userResponseHeadersFile (mandatory) name of the header file in this folder.