mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
Merge pull request #724 from whitecolor/change-origin-option
changeOrigin option docs fix
This commit is contained in:
commit
60bd697051
@ -40,7 +40,7 @@ module.exports.createProxyServer =
|
|||||||
* toProxy: <true/false, explicitly specify if we are proxying to another proxy>
|
* 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>
|
* 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>
|
* 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.
|
* NOTE: `options.ws` and `options.ssl` are optional.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user