Skip to content

tinper-uba/uba-server-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

proxy server plugin for uba-server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published