# Caddy terminates TLS for the OpenMail HTTP API and auto-manages certs. # Replace mail.example.com with your domain; Caddy provisions a Let's Encrypt # cert automatically on first request. mail.example.com { reverse_proxy openmail:8080 }