The Caddyfile is for configuring sites to serve. If you don’t want to serve any sites, I think you’ll have to use JSON.