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]