Skip to content

Commit

Permalink
[docs] more options
Browse files Browse the repository at this point in the history
  • Loading branch information
yawnt committed Oct 14, 2012
1 parent 4c8e1d9 commit d4cb9da
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -489,19 +489,20 @@ Http Proxy supports the following options
forward: { // options for forward-proxy
port: 8000,
host: 'staging.com'
},
target : { // options for proxy target
port: 8000,
host: 'localhost'
}
port : 8000,
host : 'localhost',
};
source : { // additional options for websocket proxying
host : 'localhost',
port : 8000,
https: true
}
},
enable : {
xforward: true // enables X-Forwarded-For
}
changeOrigin: false // changes the origin of the host header to the target URL
},
changeOrigin: false, // changes the origin of the host header to the target URL
}
```

Expand Down

0 comments on commit d4cb9da

Please sign in to comment.