Created
July 3, 2014 16:34
-
-
Save omphalos/72a4e5479f78c5d2c746 to your computer and use it in GitHub Desktop.
Reverse proxy one-liner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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