…ample Add example for gzip middleware using a proxy table.
prefer `target.hostname` over `target.host`
add "Using two certificiates" to the https section of the readme.md
Add support for setting the host in the executable
…ests based on CLI arguments
…y can proxy to `https` by default.
…e latest socket.io
Hi! I fixed some calls to "sys" for you!
…th node v0.8
Fix bug: x-forwarded-proto set incorrectly as httphttps or wswss
When routed via multiple proxies, x_forwarded_proto set as httphttps or wswss instead of http,https or ws,wss, since + operator seems to have a higher precedence than the terniary operator and the expression was getting evaluated to true always
[misc] Updating the changelog. Close #137
Fix problem with req.url not being not properly replaced.
The ternary was evaluating truthy for "," + req.connection.pair which is always true because its always a non empty string. Wrapped actual condition to properly concatenate the product of the ternary. let me know if you prefer the style (req.connection.pair ? 'https' : 'http') #250