drone/drone — pull request #574 by dangra (2014-10-15 12:36:46+00:00)
Title: Detect https scheme when serving ssl

Running droned with --sslcert enables SSL, but drone enters a redirection loop authenticating a user using Github OAuth endpoints because `redirect_uri` query parameter generated by `/api/auth/github.com` endpoint "http://" instead of "https://". It doesn't match the redirect_uri set on Github settings for the app, so it fails.