Merge pull request #724 from whitecolor/change-origin-option

changeOrigin option docs fix
This commit is contained in:
Jarrett Cruger 2014-10-29 10:52:10 -04:00
commit 60bd697051

View File

@ -40,7 +40,7 @@ module.exports.createProxyServer =
* toProxy: <true/false, explicitly specify if we are proxying to another proxy>
* prependPath: <true/false, Default: true - specify whether you want to prepend the target's path to the proxy path>
* localAddress : <Local interface string to bind for outgoing connections>
* changeOrigin: true/false, Default: false - changes the origin of the host header to the target URL>
* changeOrigin: <true/false, Default: false - changes the origin of the host header to the target URL>
* }
*
* NOTE: `options.ws` and `options.ssl` are optional.