Enable HTTPS in GitHub pages

Today my friend Andrew Berry pointed out to me that his browser was warning him about this blog not having HTTPS enabled. For additional irony he noticed that while reading my article on How to use HTTPS in your local environment.

I host this site on GitHub pages as static HTML + JS + CSS. Then I self-host other privacy respecting services in my server for things like comments and analytics. My Jekyll plugin for the feed generation was detecting the URL as http://mateuaguilo.com from the GitHub Pages configuration. This lead to the RSS feed to contain all links as HTTP 😱, even if I added HTTPS a while ago.

I logged-in to the repository and navigated to the GitHub Pages settings. Now there is an option to enforce HTTPS. This fixed the RSS feed.

GitHub pages settings for this blog's repository

👋 Subscribe!

If you like this content, you might consider subscribing to this site's RSS feed. This is the best way to stay up to date with new content on the site. If you don't know how to subscribe, you can check this tutorial.