Caddyfile
Caddyfile is the configuration file format used by the Caddy web server. It provides a human-friendly way to define site blocks, server behavior, and options. Caddy can read a Caddyfile directly or convert it to JSON for production deployments.
The basic structure consists of blocks. A site block starts with a label, usually a hostname such
Common directives configure core capabilities. root sets the document root, file_server enables static file serving, and
log {
output file /var/log/caddy/access.log
}
}
Usage notes: the Caddyfile is named Caddyfile by convention and located in the server’s working directory