Skip to content

Instantly share code, notes, and snippets.

View tonygambone's full-sized avatar

Tony Gambone tonygambone

  • Thycotic
  • Somewhere in Colorado
View GitHub Profile
@tonygambone
tonygambone / https_forward_proxy.js
Created April 19, 2012 17:02
HTTP/HTTPS forward proxy in node.js
// HTTP forward proxy server that can also proxy HTTPS requests
// using the CONNECT method
// requires https://github.com/nodejitsu/node-http-proxy
var httpProxy = require('http-proxy'),
url = require('url'),
net = require('net'),
http = require('http');

Keybase proof

I hereby claim:

  • I am tonygambone on github.
  • I am tonygambone (https://keybase.io/tonygambone) on keybase.
  • I have a public key ASCMh58NIN7SqZ7xNOT0NIVYTJWvb9401XZPS-iUL3CoKAo

To claim this, I am signing this object: