You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -315,13 +315,13 @@ proxyServer.listen(8015);
315
315
***forward**: url string to be parsed with the url module
316
316
***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)
317
317
***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)
318
320
319
321
If you are using the `proxyServer.listen` method, the following options are also applicable:
320
322
321
323
***ssl**: object to be passed to https.createServer()
322
324
***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)
0 commit comments