You're viewing a comment by Marc and its responses.

Marc Permalink
October 22, 2012, 13:39

Aha, just changing this line:
var proxy = http.createClient(80, request.headers['host'])
to
var proxy = http.createClient(80, 'google.com')
makes it a reverse proxy instead of a normal HTTP proxy.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the word "linux": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.