caddy
Server Update
Updating the Server After almost 3 years - and with Ubuntu 24.04 around the corner - I thought it is about time to take care of my server updates. The following updates where executed: Ubuntu from 20.04 to 22.04 (last LTS to current LTS) update NodeJS 14 (😱) to NodeJS 21. I cannot remember why I even installed node in the first place. But might be handy if I ever come back to use VitePress update Go 1.
Create WebHooks with Caddy
WebHook == Run Some Command A webhook is a an HTTP endpoint that triggers ‘some action’. The action will be specific for the application that provides the endpoint. In my case the action/endpoint will update my blog. Let’s ignore for a moment how exactly ‘updating the blog’ works, and just pretend I want to execute some arbitrary command on my server as soon as I call some very specific URL.
Basic Blog Blocks - Caddy Web Server
With a domain and a (virtual) server the foundation is ready, and we can start to serve some basic HTML to our readers. Therefore, we need a web server - meaning a software that can talk to browsers that call our domain. I went with Caddy 2, which is a rather new web server written in Go. The nice part of caddy is that it was developed with encryption via https in mind.