Skip to content

Instantly share code, notes, and snippets.

@aaronshaf
Last active December 22, 2015 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaronshaf/6469269 to your computer and use it in GitHub Desktop.
Save aaronshaf/6469269 to your computer and use it in GitHub Desktop.
var httpProxy = require('http-proxy');
var options = {
changeOrigin: true,
target: {
https: true
}
}
httpProxy.createServer(443, 'www.google.com', options).listen(8001);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment