How to use Caddy with Cloudflare's SSL settings

Cloudflare is one of the most used reverse proxies on the internet. There are a number of different ways to configure your SSL and TLS settings on Cloudflare as well as Caddy. In this post, I will explain how you can configure your Caddy server to work properly with Cloudflare.