Kamal 2 is introducing a new custom proxy to replace Traefik, streamlining zero-downtime deployments for web containers with Docker. Traefik was originally chosen for its dynamic reverse proxy capabilities but had some limitations, such as requiring a special configuration file for health checks. The new Kamal proxy simplifies the process by allowing easy deployment with options for automatic TLS certificates. Users can specify services and hosts with commands like “kamal-proxy deploy my-app –target web-1:3000.” The proxy features routing based on hosts, automatic TLS certificates, request/response buffering, and more. The goal is to make deployments and configuration easier for users of Kamal.
https://nts.strzibny.name/kamal-proxy/