Today I ran into an article by one Troy Hunt that talks about the fact that https is now past the status of exception, and is becoming the new norm.
Not long ago, I had thought about switching this website to the secure protocol, but was intimidated by the prospect of work and bureaucracy that I needed to get into. Troy’s post was enough to make me give it a serious try; I must admit, it was so much simpler than I expected, that I could easily have done it earlier.
Apparently, GitHub pages allows you to automatically switch to https, if you don’t use a custom domain name, but yourname.github.io. Come on, GH! I was so close! As the most astute reader might suspect, I do use a custom domain name. What to do?
I googled a bit more and found this page (kudos!), that introduced me to the amazing Cloudflare, that offers a zillion of services to improve website (I was impressed by the CDN that serves your page faster). The pricing plans for businesses appear intimidating, but for personal web pages, they have a free one. I was sold on the spot!
I needed to change the DNS on my domain registrar, and everything was setup, but, uh, my website itself.
I went through all the links, and removed the http: and https: parts. This works ── I didn’t know. I also included the simple script found in the post above, to redirect anything to https that comes from http.
And the trick is done! Gergel.im is now served via https.