diff --git a/README.md b/README.md index 0e4c9c7f..e01dcfed 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,11 @@ function selectProxyHost() { app.use('/', proxy(selectProxyHost)); ``` + +Notie: Host is only the host name. Any params after in url will be ignored. For ``http://google.com/myPath`, ``myPath`` will be ignored because the host name is ``google.com``. +See ``proxyReqPathResolver`` for more detailed path information. + + ### Middleware mixing If you use 'https://www.npmjs.com/package/body-parser' you should declare it AFTER the proxy configuration, otherwise original 'POST' body could be modified and not proxied correctly.