See https://github.com/caddyserver/caddy/issues/5832, the JSON config option was added, but the Caddyfile option wasn't added.