Adds ability to use BPM as a proxy #87

Open
wants to merge 2 commits into
from

Projects

None yet

2 participants

@joewest
joewest commented Nov 9, 2011

What's it do:

  • supports all HTTP methods
  • supports ssl
  • supports Cookie'd sessions

How to use it?

Add this to your project.json:

{
...
"bpm:preview_proxy": {
  "path": "/api",
  "host": "localhost",
  "port": 3000,
  "use_ssl": false
}

path: requests that match this will be proxied
host/port: where to send the matched requests
use_ssl: defaults to false, is optional

Shout-outs to chrishyle and cwninja

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment