I have been using nginx before using Caddy. Yesterday I tried Caddy for the first time after reading the Caddy 2 documentation, but I feel that the documentation is not complete and a bit confusing. For example, docs/json/ and caddyfile/directives
But I fundamentally disagree with your comments. Headers are a concept of HTTP as a protocol. There’s no reason the Caddy docs should waste time – our time writing the docs, and the reader’s time by reading things they could find in better quality elsewhere.
HTTP headers are key-value pairs. There’s literally an infinite amount of possible HTTP headers. If there’s a particular header that’s relevant to your application, then that’s a concern of your application.