You can clone with
HTTPS or Subversion.
I need forword the request directly to target host.
That's to say, every request to change the hostname.
Below code just not work.
server = bouncy (req, res, bounce) ->
....[host, port] = req.headers.host.split ':'
....port ?= 80
....bounce host, parseInt(port)
The response seems crazy.
What is the right way?
I'm not sure what you're trying to do here.