diff --git a/README.md b/README.md index 2bf1576..466a788 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ $ npm run test - **ignorePath:** `boolean` - Default: false - specify whether you want to ignore the proxy path of the incoming request (note: you will have to append / manually if required). - **localAddress:** `string` Local interface string to bind for outgoing connections - ~~**changeOrigin:** `boolean` - Default: false - changes the origin of the host header to the target URL~~ | `deprecated` -- **changeOrigin:** `boolean` - Default: false - changes the origin of the host header to the target URL +- **changeHost:** `boolean` - Default: false - changes the origin of the host header to the target URL - **preserveHeaderKeyCase:** `boolean` - Default: false - specify whether you want to keep letter case of response header key - **auth:** `string` - Basic authentication i.e. 'user:password' to compute an Authorization header. - **hostRewrite:** `string` - rewrites the location hostname on (201/301/302/303/307/308) redirects. @@ -118,4 +118,4 @@ $ npm run test If you are using the `listen` method, the following options are also applicable: - **ssl:** `object` - object to be passed to https.createServer() -- **ws:** `boolean` - if you want to proxy websockets \ No newline at end of file +- **ws:** `boolean` - if you want to proxy websockets