Skip to content

Instantly share code, notes, and snippets.

@omphalos
Created July 3, 2014 16:34
Show Gist options
  • Save omphalos/72a4e5479f78c5d2c746 to your computer and use it in GitHub Desktop.
Save omphalos/72a4e5479f78c5d2c746 to your computer and use it in GitHub Desktop.
Reverse proxy one-liner
require('http-proxy').createProxyServer({ target: 'http://REMOTESERVER:REMOTEPORT' }).listen(LOCALPORT)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment