The document has been permanently moved to
https://kalnytskyi.com/posts/setup-cors-caddy-2/
.