Is there a way to do that in the V2 ?
Luckily, this was just merged in a couple weeks ago: https://github.com/caddyserver/caddy/pull/2913
I think we’re still missing documentation and Caddyfile support, but this should be added very soon. @matt
It’s supported via JSON configuration for now: https://caddyserver.com/docs/json/apps/http/servers/tls_connection_policies/
The documentation when it gets implemented for the Caddyfile config will be here: https://caddyserver.com/docs/caddyfile/directives/tls
Eh, yeah, need to polish up the docs on that feature a bit, and add Caddyfile support.
Thanks! So I will use the JSON config in the meantimes.