hipache/hipache — pull request #161 by ryandub (2014-10-17 03:14:18+00:00)
Title: Add secure redirect ability

Adds boolean server configuration option `forceSecure` that redirects HTTP connections to HTTPS.

I know that there have been a few discussions about redirects based on the content of the request, but this is a bit different because it allows Hipache to serve a common function of other proxies (Nginx, HAProxy, etc.) which is to redirect based on schema allowing the underlying application to be agnostic.