All the examples for node-http-proxy
show a {target: <URL>}
option, but I don't want to proxy to a single target. How do I set it up for outbound requests (to any URL)?
Asked
Active
Viewed 682 times
1

Brent Washburne
- 12,904
- 4
- 60
- 82
1 Answers
0
Since node-http-proxy
seems to be a proxy for inbound connections to a server farm, and not for outbound connections to random websites, I found another tool instead:
http://newspaint.wordpress.com/2012/11/05/node-js-http-and-https-proxy/
This allows me to customize the requests and responses as needed.

Brent Washburne
- 12,904
- 4
- 60
- 82