Use the alpn property of the tls directive: https://caddyserver.com/docs/tls
alpn
alpn http/1.1
That will disable h2.