max-mapper / callback-hell

information about async javascript programming
http://callbackhell.com
847 stars 100 forks source link

Enable HTTPS on GitHub Pages #33

Open TimothyGu opened 4 years ago

TimothyGu commented 4 years ago

Hi, could you please enable HTTPS support for this GitHub Pages site? Should be as easy as flipping a switch in repo settings: https://help.github.com/en/articles/securing-your-github-pages-site-with-https

max-mapper commented 4 years ago

Github doesn't let me because "Unavailable for your site because your domain is not properly configured to support HTTPS". But it's a single file static site so I'm not sure what there is to encrypt (since the host is public is HTTPS)

TimothyGu commented 4 years ago

Hmm. Could you tweak the DNS settings according to the latest instructions for Apex domains? https://help.github.com/en/articles/managing-a-custom-domain-for-your-github-pages-site#configuring-an-apex-domain

I don't want to rehash the argument of why HTTPS for static sites is good, etc., but it affects Google SEO these days, and callbackhell.com remains a favorite of mine to link to folks learning JavaScript :)

shadow1349 commented 4 years ago

@maxogden you could always upload this HTML page to Firebase Hosting. Your website will automatically get a free SSL cert and you can use a custom domain name. If you need help setting that up let me know I would be happy to help!