alda-lang / alda.io

The official Alda website
https://alda.io
4 stars 10 forks source link

Use https only #22

Closed daveyarwood closed 7 years ago

daveyarwood commented 7 years ago

Currently we do not support https://alda.io, only http://alda.io.

We should get an SSL certificate, maybe through https://letsencrypt.org, and figure out how to set it up through GitHub Pages so that we support https too.

Then, we should always redirect http => https.

daveyarwood commented 7 years ago

Doing some brief googling, it seems like setting up an SSL certificate is not really supported out of the box if you're hosting your site on GitHub Pages and you have a custom domain.

I might look at moving alda.io to a DigitalOcean droplet and setting up SSL via nginx and LetsEncrypt. The tricky thing is being able to automate deploys like we currently have set up through GitHub Pages, but I'm sure it's doable.

EDIT: yeah, there are a number of ways to do it: https://jekyllrb.com/docs/deployment-methods/

daveyarwood commented 7 years ago

Netlify looks promising.

daveyarwood commented 7 years ago

I started taking a look at Netlify and it's very nice, not to mention free.

I set up https://aldawebsite.netlify.com. From here, it looks like it will be easy to set up alda.io as the custom domain, enable SSL with a single click, and set up continuous deployment from this Git repo.

TODO:

daveyarwood commented 7 years ago

Done!