Skip to content

Instantly share code, notes, and snippets.

@ashnur
Created October 19, 2012 11:42
Show Gist options
  • Select an option

  • Save ashnur/3917785 to your computer and use it in GitHub Desktop.

Select an option

Save ashnur/3917785 to your computer and use it in GitHub Desktop.
example bouncy script
var bouncy = require('bouncy');
bouncy(function(req, bounce){
if ( req.headers.host === 'domain.example.com' ) {
bounce(9999)
}
}).listen(8888)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment