Re:GitLab Pages
by iokanuon on Tuesday April 05, 2016 @02:52PM
(#11433246)
How would that work if Github pages don't support SSL?
[ Parent
| on HN ]
GitHub supports SSL for *.github.io so you can have your custom domain with SSL on CloudFlare, and CloudFlare can proxy https://example.github.io/... on the other side.
eg: End User <--> https://example.com <--> CloudFlare <--> https://example.github.io
Rewriting the Host header in this way requires a non-free CloudFlare plan.
It won't. http://stackoverflow.com/a/28457335/239657
(1) Last I checked, cloudflare's "Strict SSL" mode only accepts from the backend a cert for the custom domain you're trying to serve, not accepting the github.io cert. A pity they don't let me configure what cert(s) to accept from the backend...
(2) In addition, Github have indicated their current github.io SSL is not actually end-to-end secure — it's only secure from their CDN (Fastly) but their link to the CDN is unsecure. So there is absolutely zero you can do — Cloudflare or anything else — to make GH Pages end-to-end secure on custom domains.