Skip to content

Commit 2aa3b84

Browse files
committed
Merge pull request #705 from Jimbly/patch-1
Fixed misleading documentation
2 parents e7d50b1 + a4ca578 commit 2aa3b84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -315,13 +315,13 @@ proxyServer.listen(8015);
315315
* **forward**: url string to be parsed with the url module
316316
* **agent**: object to be passed to http(s).request (see Node's [https agent](http://nodejs.org/api/https.html#https_class_https_agent) and [http agent](http://nodejs.org/api/http.html#http_class_http_agent) objects)
317317
* **secure**: true/false, if you want to verify the SSL Certs
318+
* **xfwd**: true/false, adds x-forward headers
319+
* **toProxy**: passes the absolute URL as the `path` (useful for proxying to proxies)
318320

319321
If you are using the `proxyServer.listen` method, the following options are also applicable:
320322

321323
* **ssl**: object to be passed to https.createServer()
322324
* **ws**: true/false, if you want to proxy websockets
323-
* **xfwd**: true/false, adds x-forward headers
324-
* **toProxy**: passes the absolute URL as the `path` (useful for proxying to proxies)
325325

326326
### Shutdown
327327

0 commit comments

Comments
 (0)