uba-server-proxy

2.0.3 • Public • Published

uba-server-proxy

npm version devDependency Status NPM downloads


NPM

Installation

$ npm install uba-server-proxy -D

Usage

Edit the .ubarc file

 
{
  "proxy": [{
    "url": "/api",
    "options": {
      "target": "http://cnodejs.org",
      "changeOrigin": true,
      "logLevel": "debug"
    }
  }, {
    "url": ["/users", "/orgs"],
    "options": {
      "target": "https://api.github.com",
      "changeOrigin": true,
      "logLevel": "debug"
    }
  }]
}
 
 

Look at more https://www.npmjs.com/package/http-proxy-middleware#options

Readme

Keywords

Package Sidebar

Install

npm i uba-server-proxy

Weekly Downloads

2

Version

2.0.3

License

MIT

Unpacked Size

3.29 kB

Total Files

4

Last publish

Collaborators

  • kvkens