Caddyfile Directives
The syntax of each directive will look something like this:
The indicate tokens to be substituted by actual values.
The ellipses indicates a continuation, i.e. one or more parameters or lines.
Subdirectives are always optional unless documented otherwise, even though they don’t appear in [brackets]
.
then the directive accepts a matcher token, letting you filter which requests the directive applies to.
Because matcher tokens all work the same, the various possibilities for the matcher token will not be described on every page, to reduce duplication. Instead, refer to the centralized matcher documentation.
Directive order
You can override/customize this ordering by using the global option or the .