The Caddyfile has a way for you to specify options that apply globally. Some options act as default values; others customize HTTP servers and don't apply to just one particular site; while yet others customize the behavior of the Caddyfile adapter.
The very top of your Caddyfile can be a global options block. This is a block that has no keys:
{
...
}