Adding HTTPS support to an nginx/Hugo site using letsencrypt

Free SSL certificates?!

If your site doesn’t support HTTPS, better hurry up. Google already uses HTTPS as a ranking factor, but from July 2018, Google Chrome will label non-HTTPS sites as not-secure. The following setup is so simple that there’s basically no excuse for your site to not be HTTPS compliant.

These instructions assume you’ve followed the mish-mash of a guide I posted for the starting setup.

First of all, head on over to letencrypt.org and find the certbot installation instructions relevant for your webhost. In my case, that’s nginx on Ubuntu 16.04.

[Read More]

Setting up an nginx/Hugo Site

With git-hooks for deployment

What follows is something of a personal reminder of how I got this webserver set up, using nginx to serve a static website which is generated by Hugo using git-hooks to deploy with a simple git push. I had to read several different tutorials to figure it out; those that I can remember I have linked at relevant points.

A while later, I added HTTPS support using letsencrypt, but I’ll save that for another post since it required some more fiddling.

[Read More]