Adapts the human-friendly Caddyfile into the JSON structure Caddy actually uses, with --pretty adding indentation so it is readable. Useful to see how directives map to JSON or to debug a config error. Without --pretty the JSON comes out on one line.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.