Created
April 26, 2012 13:31
-
-
Save alexstrat/2499587 to your computer and use it in GitHub Desktop.
proxy-server
This file contains hidden or 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
httpProxy = require('http-proxy'); | |
httpProxy.createServer({ | |
router: { | |
//UI | |
'kadoh.fr.nf' : '127.0.0.1:8080', | |
//bosh | |
'bosh.kadoh.fr.nf' : '127.0.0.1:5280', | |
//cube | |
'collector.kadoh.fr.nf' : '127.0.0.1:1080', | |
'evaluator.kadoh.fr.nf' : '127.0.0.1:1081' | |
}}).listen(80); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://gist.github.com/alexstrat/2499587?permalink_comment_id=280551#gistcomment-280551