progrium/dokku — pull request #316 by mmalecki (2013-11-17 21:06:14+00:00)
Title: Don't redirect to from HTTP to HTTPS

Let applications redirect basing on `X-Forwarded-Proto` header.

Example of a usecase where this would be better than redirecting by
default: dokku running at `apps.`, with a wildcard
certificate for `*.` set up. Applications which require SSL
could be deployed as `.` (by setting DNS up to
point to dokku host and using custom domain). Regular applications could
be deployed as usual.